Skip to content

Commit

Permalink
ci: refactor github workflow (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
HAOYUatHZ committed Jun 22, 2023
1 parent 84df66e commit de43c6f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ jobs:
- name: Build
run: cargo build --verbose
- name: Run halo2-base tests
working-directory: 'halo2-base'
run: |
cd halo2-base
cargo test -- --test-threads=1
cd ..
- name: Run halo2-ecc tests MockProver
working-directory: 'halo2-ecc'
run: |
cd halo2-ecc
cargo test -- --test-threads=1 test_fp
cargo test -- test_ecc
cargo test -- test_secp
Expand All @@ -35,10 +34,9 @@ jobs:
cargo test -- test_sm
cargo test -- test_fb
cargo test -- test_pairing
cd ..
- name: Run halo2-ecc tests real prover
working-directory: 'halo2-ecc'
run: |
cd halo2-ecc
cargo test --release -- test_fp_assert_eq
cargo test --release -- --nocapture bench_secp256k1_ecdsa
cargo test --release -- --nocapture bench_ec_add
Expand All @@ -48,4 +46,3 @@ jobs:
cargo test --release -- --nocapture bench_msm
mv configs/bn254/bench_pairing.t.config configs/bn254/bench_pairing.config
cargo test --release -- --nocapture bench_pairing
cd ..

0 comments on commit de43c6f

Please sign in to comment.