]> go.fuhry.dev Git - fsnotify.git/commitdiff
Run gccgo in CI (#527)
authorMartin Tournoij <martin@arp242.net>
Sat, 15 Oct 2022 20:33:56 +0000 (22:33 +0200)
committerGitHub <noreply@github.com>
Sat, 15 Oct 2022 20:33:56 +0000 (22:33 +0200)
Fixes #190

.github/workflows/test.yml

index 13d63904cadacca040c4773daf7cb2995ac2a400..a83fe50c0c5c5dd7d8529ca9255ad85e94a805a1 100644 (file)
@@ -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