Skip to content

Commit

Permalink
chore: split ci for speed (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtguibas authored Apr 20, 2024
1 parent 892db4b commit b579519
Showing 1 changed file with 42 additions and 6 deletions.
48 changes: 42 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,45 @@ jobs:
CARGO_INCREMENTAL: 1
FRI_QUERIES: 1

e2e:
name: E2E
runs-on: warp-ubuntu-latest-arm64-8x
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Setup CI
uses: ./.github/actions/setup
with:
pull_token: ${{ secrets.PULL_TOKEN }}

- name: Install sp1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
echo "/root/.sp1/bin" >> $GITHUB_PATH
/root/.sp1/bin/sp1up
- name: Run fibonacci-io example
uses: actions-rs/cargo@v1
with:
command: run
args: --release --manifest-path examples/fibonacci-io/script/Cargo.toml
env:
RUSTFLAGS: -Copt-level=3 -Cdebug-assertions -Coverflow-checks=y -Cdebuginfo=0 -Ctarget-cpu=native
RUST_LOG: 1
RUST_BACKTRACE: 1
CARGO_INCREMENTAL: 1

- name: Run cargo prove new
run: |
cargo prove new cargo-prove-test
cd cargo-prove-test
cd script
cargo run --release
misc:
name: Miscellaneous
runs-on: warp-ubuntu-latest-arm64-8x
Expand All @@ -57,6 +96,7 @@ jobs:
uses: ./.github/actions/setup
with:
pull_token: ${{ secrets.PULL_TOKEN }}

- name: Run cargo test with no default features
uses: actions-rs/cargo@v1
with:
Expand All @@ -67,11 +107,13 @@ jobs:
RUST_LOG: 1
RUST_BACKTRACE: 1
CARGO_INCREMENTAL: 1

- name: Install sp1 toolchain
run: |
curl -L https://sp1.succinct.xyz | bash
echo "/root/.sp1/bin" >> $GITHUB_PATH
/root/.sp1/bin/sp1up
- name: Run fibonacci-io example
uses: actions-rs/cargo@v1
with:
Expand All @@ -82,12 +124,6 @@ jobs:
RUST_LOG: 1
RUST_BACKTRACE: 1
CARGO_INCREMENTAL: 1
- name: Run cargo prove new
run: |
cargo prove new cargo-prove-test
cd cargo-prove-test
cd script
cargo run --release

lints:
name: Formatting & Clippy
Expand Down

0 comments on commit b579519

Please sign in to comment.