@@ -77,11 +77,17 @@ jobs:
7777 go install github.com/golangci/golangci-lint/cmd/[email protected] 7878 make go-lint
7979 cgo-bindings :
80- name : Build and test CGO bindings (${{ matrix.runner }})
81- runs-on : ${{ matrix.runner }}
80+ name : Build and test CGO bindings (${{ matrix.runner.name }})
81+ runs-on : ${{ matrix.runner.machine }}
8282 strategy :
8383 matrix :
84- runner : ['ubuntu-latest', ["self-hosted", "linux", "arm64", "xlarge"], 'macos-latest']
84+ runner :
85+ - name : " linux-x86_64"
86+ machine : ["self-hosted", "linux", "x64", "4xlarge"]
87+ - name : " linux-arm64"
88+ machine : ["self-hosted", "linux", "arm64", "4xlarge"]
89+ - name : " macos-latest"
90+ machine : ' macos-latest'
8591 fail-fast : false
8692 steps :
8793 - run : echo "Running on $RUNNER_OS $RUNNER_ARCH"
@@ -124,9 +130,9 @@ jobs:
124130 - if : github.event.inputs.run-leak-detector == 'true'
125131 run : make cgo-leakdetect
126132 - if : runner.os == 'Linux'
127- run : cd rust && FIL_PROOFS_PARAMETER_CACHE="${GITHUB_WORKSPACE}/filecoin-proof-parameters/" RUST_LOG=info cargo test --all --release -- --test-threads 1 && cd ..
133+ run : cd rust && FIL_PROOFS_PARAMETER_CACHE="${GITHUB_WORKSPACE}/filecoin-proof-parameters/" RUST_LOG=info cargo test --all --release && cd ..
128134 - if : runner.os == 'Linux'
129- run : GOEXPERIMENT=cgocheck2 RUST_LOG=info go test -p 1 - timeout 60m
135+ run : GOEXPERIMENT=cgocheck2 RUST_LOG=info go test -timeout 60m
130136 - if : runner.os == 'macOS'
131137 name : Build project and tests, but don't actually run the tests (used to verify that build/link works with Darwin)
132138 run : GOEXPERIMENT=cgocheck2 RUST_LOG=info go test -run=^$
0 commit comments