From b78b70646fd164f7502252ff595c2468c72f5260 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Tue, 3 Sep 2024 20:38:45 +0200 Subject: [PATCH] chore: download parameters --- .github/workflows/ci.yml | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dbde573f0..1fd28f1d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -142,23 +142,28 @@ jobs: - name: Install required packages run: sudo apt install --no-install-recommends --yes libhwloc-dev nvidia-cuda-toolkit ocl-icd-opencl-dev - - name: Test with CUDA - run: cargo test --verbose --release --workspace --features cuda -- --nocapture ${{ matrix.test-args }} - - name: Test with `cuda-supraseal` - run: CC=gcc-12 CXX=g++-12 NVCC_PREPEND_FLAGS='-ccbin /usr/bin/g++-12' cargo test -p filecoin-proofs --release --no-default-features --features cuda-supraseal -- --nocapture --test-threads=1 ${{ matrix.test-args }} - - test_macos: - runs-on: macos-latest - name: Test in release mode on MacOS - steps: - - uses: actions/checkout@v4 - - name: Install required packages - run: HOMEBREW_NO_AUTO_UPDATE=1 brew install hwloc - - name: Download the proof params uses: ./.github/actions/proof-params-download with: github-token: ${{ secrets.GITHUB_TOKEN }} - - name: Run usual tests in release profile - run: cargo test --verbose --release --workspace -- --nocapture + - name: Test with CUDA + run: cargo test --verbose --release --workspace --features cuda -- --nocapture ${{ matrix.test-args }} + - name: Test with `cuda-supraseal` + run: CC=gcc-12 CXX=g++-12 NVCC_PREPEND_FLAGS='-ccbin /usr/bin/g++-12' cargo test -p filecoin-proofs --release --no-default-features --features cuda-supraseal -- --nocapture --test-threads=1 ${{ matrix.test-args }} + + #test_macos: + # runs-on: macos-latest + # name: Test in release mode on MacOS + # steps: + # - uses: actions/checkout@v4 + # - name: Install required packages + # run: HOMEBREW_NO_AUTO_UPDATE=1 brew install hwloc + # + # - name: Download the proof params + # uses: ./.github/actions/proof-params-download + # with: + # github-token: ${{ secrets.GITHUB_TOKEN }} + # + # - name: Run usual tests in release profile + # run: cargo test --verbose --release --workspace -- --nocapture