Skip to content

Commit

Permalink
fix: mutualize install of nextest in cargo_fetch job
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Feb 15, 2023
1 parent 7c90207 commit dc19b4b
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ jobs:
- run: rustup show
- run: cargo --version
- run: rustc --version
- run:
name: Install nextest
command: >
[ -f ${CARGO_HOME:-~/.cargo/bin}/cargo-nextest ] ||
curl -LsSf https://get.nexte.st/latest/linux |
tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- run:
name: Calculate dependencies
command: cargo generate-lockfile
Expand All @@ -98,18 +104,11 @@ jobs:
at: "~/"
- install_gpu_deps
- restore_rustup_cache
- run: cargo --version
- run: rustup target add wasm32-unknown-unknown
- run: sudo apt install clang
- run:
name: Wasm Build
command: cargo build --target wasm32-unknown-unknown
- run:
name: Install nextest
command: >
[ -f ${CARGO_HOME:-~/.cargo/bin}/cargo-nextest ] ||
curl -LsSf https://get.nexte.st/latest/linux |
tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- run:
name: Linux Tests
command: cargo nextest --profile ci --workspace
Expand All @@ -125,12 +124,6 @@ jobs:
at: "~/"
- restore_rustup_cache
- install_gpu_deps
- run:
name: Install nextest
command: >
[ -f ${CARGO_HOME:-~/.cargo/bin}/cargo-nextest ] ||
curl -LsSf https://get.nexte.st/latest/linux |
tar zxf - -C ${CARGO_HOME:-~/.cargo}/bin
- run:
name: Linux Tests
command: cargo nextest run --profile ci --release --workspace --run-ignored all -E 'all() - test(groth16::tests::outer_prove_recursion)' -j1
Expand Down

0 comments on commit dc19b4b

Please sign in to comment.