Skip to content

Commit

Permalink
chore: download parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
vmx committed Sep 3, 2024
1 parent c5132e3 commit b78b706
Showing 1 changed file with 20 additions and 15 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b78b706

Please sign in to comment.