feat: Offline memory #26
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: SHA2-256 Extension Tests | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["**"] | |
paths: | |
- "crates/circuits/sha256-air/**" | |
- "extensions/sha256/**" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
cancel-in-progress: true | |
env: | |
CARGO_TERM_COLOR: always | |
OPENVM_FAST_TEST: "1" | |
jobs: | |
tests: | |
runs-on: | |
- runs-on=${{ github.run_id }} | |
- runner=64cpu-linux-arm64 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
cache-on-failure: true | |
- uses: taiki-e/install-action@nextest | |
- name: Run sha256 extension crate tests | |
working-directory: extensions/sha256/circuit | |
run: | | |
cargo nextest run --cargo-profile=fast | |
- name: Run sha256 integration tests | |
working-directory: extensions/sha256/tests | |
run: | | |
rustup component add rust-src --toolchain nightly-2024-10-30 | |
cargo nextest run --cargo-profile=fast |