Skip to content

Commit

Permalink
CI: Use self hosted runner (BitVM#189)
Browse files Browse the repository at this point in the history
* CI: Use self hosted runner

* CI: Fix cargo test command

---------

Co-authored-by: Lukas <[email protected]>
  • Loading branch information
lucidLuckylee and lucidLuckylee authored Jan 14, 2025
1 parent 4be96ba commit dbbc60f
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,33 +14,34 @@ jobs:
clippy:
if: github.event.pull_request.draft == false
timeout-minutes: 60
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Run clippy
run: cargo clippy
build:
if: github.event.pull_request.draft == false
timeout-minutes: 60
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build
- name: Run tests
run: |
cargo test -- --test-threads=4 \
--skip bn254::pairing::test::test_quad_miller_loop_with_c_wi \
--skip bn254::pairing::test::test_hinted_quad_miller_loop_with_c_wi \
--skip groth16::test::test_groth16_verifier \
--skip groth16::test::test_hinted_groth16_verifier \
--skip groth16::offchain_checker::test::test_checkpairing_with_c_wi_groth16 \
--skip bridge::
cargo test -- --test bn254::pairing::test::test_quad_miller_loop_with_c_wi --exact
cargo test -- --test bn254::pairing::test::test_hinted_quad_miller_loop_with_c_wi --exact
cargo test -- --test groth16::test::test_groth16_verifier --exact
cargo test -- --test groth16::test::test_hinted_groth16_verifier --exact
cargo test -- --test groth16::offchain_checker::test::test_checkpairing_with_c_wi_groth16 --exact
cargo test -- --skip bridge::
# cargo test -- --test-threads=4 \
# --skip bn254::pairing::test::test_quad_miller_loop_with_c_wi \
# --skip bn254::pairing::test::test_hinted_quad_miller_loop_with_c_wi \
# --skip groth16::test::test_groth16_verifier \
# --skip groth16::test::test_hinted_groth16_verifier \
# --skip groth16::offchain_checker::test::test_checkpairing_with_c_wi_groth16 \
# --skip bridge::
# cargo test -- --test bn254::pairing::test::test_quad_miller_loop_with_c_wi --exact
# cargo test -- --test bn254::pairing::test::test_hinted_quad_miller_loop_with_c_wi --exact
# cargo test -- --test groth16::test::test_groth16_verifier --exact
# cargo test -- --test groth16::test::test_hinted_groth16_verifier --exact
# cargo test -- --test groth16::offchain_checker::test::test_checkpairing_with_c_wi_groth16 --exact
# bridge:
# if: github.event.pull_request.draft == false
# timeout-minutes: 60
Expand Down

0 comments on commit dbbc60f

Please sign in to comment.