From: Martin Tournoij Date: Sat, 15 Oct 2022 20:33:56 +0000 (+0200) Subject: Run gccgo in CI (#527) X-Git-Tag: v1.7.2~38 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=118063b04f93187785eddc47fdecacdfd504700a;p=fsnotify.git Run gccgo in CI (#527) Fixes #190 --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 13d6390..a83fe50 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,6 +29,19 @@ jobs: run: | go test -race ./... + # Test gccgo + testgcc: + runs-on: ubuntu-22.04 + name: test (ubuntu-22.04, gccgo 12.1) + steps: + - name: checkout + uses: actions/checkout@v3 + + - name: test + run: | + sudo apt-get -y install gccgo-12 + go-12 test ./... + # Test only the latest Go version on macOS; we use the macOS builders for BSD # and illumos, and GitHub doesn't allow many of them to run concurrently. If # it works on Windows and Linux with Go 1.16, then it probably does on macOS