Skip to content

Commit

Permalink
Parallelise running
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgoergens committed Nov 19, 2024
1 parent 504bb41 commit 769ba16
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,45 @@ jobs:
)
done
legacy-scripts:
name: Run legacy scripts
timeout-minutes: 30
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@master
with:
components: rustfmt
# TODO(Matthias): see whether we can keep this in sync with rust-toolchain.toml automatically?
toolchain: nightly-2024-10-03
- name: Cargo cache
uses: actions/cache@v3
with:
# target directories gotten via
# `find . -name target -type d -not -path '*/src/*' -printf '%P\n' | sort`
# We need to exclude `./circ_blocks/src/target` because it just a source directory with an unfortunate name.
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
circ_blocks/circ_fields/target
circ_blocks/circ_hc/target
circ_blocks/circ_opt/target
circ_blocks/circ_waksman/target
circ_blocks/target
circ_blocks/third_party/ZoKrates/zokrates_parser/target
circ_blocks/third_party/ZoKrates/zokrates_pest_ast/target
circ_blocks/third_party/ZoKrates/zokrates_stdlib/target
ff/ff_derive/target
ff/target
spartan_parallel/target
zok_tests/poseidon_gen/target
key: scripts-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml') }}

- name: Run legacy scripts
run: |
set -euxo pipefail
./setup.sh
./encode_ceno.sh

0 comments on commit 769ba16

Please sign in to comment.