Skip to content

Commit 4aad122

Browse files
Merge pull request #33 from scroll-tech/matthias/manual_check
Add a script to manually compile and run tests
2 parents 07a8bb9 + 7816276 commit 4aad122

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

manual_check

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
# You can use this script to locally check some aspects of your PR before merging it.
3+
# We will later build the CI/CD around something like it.
4+
5+
set -euxo pipefail
6+
7+
for cargo_toml in $(git ls-files '**/Cargo.toml'); do
8+
(
9+
cd "$(dirname ${cargo_toml})"
10+
cargo fmt --check
11+
cargo check --all-targets
12+
cargo test
13+
)
14+
done
15+
16+
./setup.sh
17+
./encode_ceno.sh
18+
19+
# This one is expected to fail at the moment, but it's still useful to run:
20+
# ./verify_ceno.sh

0 commit comments

Comments
 (0)