]> Sergey Matveev's repositories - btrtrc.git/blobdiff - .github/workflows/go.yml
Remove torrentfs-macos job from CI
[btrtrc.git] / .github / workflows / go.yml
index 284b62b3d3033a922cc9943ecc36262b6fcf3e81..19f5d87219b483b848341bfd90e2cdf9f06b00cf 100644 (file)
@@ -6,10 +6,11 @@ jobs:
 
   test:
     timeout-minutes: 30
-    runs-on: ubuntu-latest
+    runs-on: ${{ matrix.os }}
     strategy:
       matrix:
-        go-version: [ '1.20' ]
+        go-version: [ '1.19', '1.20' ]
+        os: [windows-latest, macos-latest, ubuntu-latest]
       fail-fast: false
     steps:
     - uses: actions/checkout@v2
@@ -62,15 +63,18 @@ jobs:
     - name: Some packages compile for WebAssembly
       run: GOOS=js GOARCH=wasm go build . ./storage ./tracker/...
 
-  torrentfs:
-    runs-on: ubuntu-latest
+  torrentfs-linux:
+    timeout-minutes: 5
+    runs-on: ${{ matrix.os }}
     strategy:
       matrix:
         go-version: [ '1.20' ]
+        os: [ubuntu-latest]
       fail-fast: false
     steps:
     - uses: actions/checkout@v2
     - uses: ./.github/actions/go-common
+        
     - name: Install godo
       run: |
         # Need master for cross-compiling fix
@@ -83,3 +87,27 @@ jobs:
     - name: torrentfs end-to-end test
       # Test on 386 for atomic alignment and other bad 64-bit assumptions
       run: GOARCH=386 fs/test.sh
+
+# Github broke FUSE on MacOS, I'm not sure what the state is.
+
+#  torrentfs-macos:
+#    timeout-minutes: 15
+#    runs-on: ${{ matrix.os }}
+#    strategy:
+#      matrix:
+#        go-version: [ '1.20' ]
+#        os: [macos-latest]
+#      fail-fast: false
+#    steps:
+#    - uses: actions/checkout@v2
+#    - uses: ./.github/actions/go-common
+#
+#    - run: brew install macfuse pv md5sha1sum bash
+#
+#    - name: Install godo
+#      run: go install -v github.com/anacrolix/godo@master
+#
+#    - name: torrentfs end-to-end test
+#      run: fs/test.sh
+#      # Pretty sure macos on GitHub CI has issues with the fuse driver now.
+#      continue-on-error: true