Skip to content

Commit

Permalink
workflow: Add cache warm ups for build and test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhunsen committed Aug 29, 2024
1 parent 95d64af commit c127e63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ jobs:
bridge_contract_address = "3100000000000000000000000000000000000002"
EOF
- name: Debug mode cache warm up with max paralel jobs
run: cargo build $CARGOFLAGS
- name: Run tests on Bitcoin regtest
run: RISC0_DEV_MODE=1 TEST_CONFIG=/home/runner/overwrite.toml cargo test --verbose --jobs 1
- name: Run tests on mock RPC
Expand Down Expand Up @@ -226,6 +228,8 @@ jobs:
bridge_contract_address = "3100000000000000000000000000000000000002"
EOF
- name: Release mode cache warm up with max paralel jobs
run: cargo build $CARGOFLAGS --release
- name: Run tests on Bitcoin regtest with release build
run: RISC0_DEV_MODE=1 TEST_CONFIG=/home/runner/overwrite.toml cargo test --verbose --jobs 1 --release
- name: Run tests on mock RPC with release build
Expand Down

0 comments on commit c127e63

Please sign in to comment.