Skip to content

Commit

Permalink
ci: enable prover tests over all curves
Browse files Browse the repository at this point in the history
  • Loading branch information
dtebbs committed Feb 1, 2021
1 parent 38ee91e commit 734e20a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/onpullrequest-build-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
prover-tests-linux:
runs-on: ubuntu-20.04
needs: [onpr-build-grpc, onpr-submodules]
strategy:
matrix:
curve: [ BLS12_377, ALT_BN128 ]
steps:
- uses: actions/checkout@v1
with:
Expand All @@ -56,7 +59,7 @@ jobs:
- name: Cache ccache
uses: actions/cache@v2
with:
key: prover-tests-ccache-${{ needs.onpr-submodules.outputs.commits }}-${{ runner.os }}-test
key: prover-tests-ccache-${{ needs.onpr-submodules.outputs.commits }}-${{ matrix.curve }}-${{ runner.os }}-test
path: ~/.ccache
- name: Cache pip
uses: actions/cache@v2
Expand All @@ -77,7 +80,7 @@ jobs:
scripts/install_grpc /usr v1.31.x depends/grpc
sudo apt install -y ccache
- name: Execute
run: CI_CONFIG=Release CI_CURVE=ALT_BN128 CI_PROVER_TESTS=1 scripts/ci build
run: CI_CONFIG=Release CI_CURVE=${{ matrix.curve }} CI_PROVER_TESTS=1 scripts/ci build

# Run all unit tests and integration tests
integration-tests-linux:
Expand Down

0 comments on commit 734e20a

Please sign in to comment.