4343 - name : Make more disk space available on public runner
4444 run : |
4545 # rmz seems to be faster at deleting files than rm
46- cargo binstall -y rmz
46+ cargo binstall -y --version 2.2.0 rmz
4747 sudo mv /home/runner/.cargo/bin/rmz /usr/local/bin/rmz
4848
4949 echo "Available storage before:"
@@ -64,14 +64,26 @@ jobs:
6464 echo
6565
6666 - name : Install dependencies
67- run : sudo apt update && sudo apt install -y wabt gotestsum
67+ run : >
68+ sudo apt update && sudo apt install -y wabt
69+ build-essential bison golang clang make
70+
71+ - name : Install cmake
72+ uses : jwlawson/actions-setup-cmake@v2
73+ with :
74+ cmake-version : " 3.31.6"
75+
76+ - name : Install latest gotestsum
77+ 78+ with :
79+ gotestsum_version : v1.12.0
6880
6981 - name : Setup nodejs
7082 uses : actions/setup-node@v3
7183 with :
72- node-version : ' 18 '
73- cache : ' yarn'
74- cache-dependency-path : ' **/yarn.lock'
84+ node-version : " 18 "
85+ cache : " yarn"
86+ cache-dependency-path : " **/yarn.lock"
7587
7688 - name : Install go
7789 uses : actions/setup-go@v4
@@ -85,18 +97,19 @@ jobs:
8597
8698 - name : Install rust stable
8799 uses : dtolnay/rust-toolchain@stable
100+ id : install-rust
88101 with :
89- toolchain : ' 1.81.0'
90- targets : ' wasm32-wasi, wasm32-unknown-unknown'
91- components : ' llvm-tools-preview, rustfmt, clippy'
102+ toolchain : " 1.81.0"
103+ targets : " wasm32-wasi, wasm32-unknown-unknown"
104+ components : " llvm-tools-preview, rustfmt, clippy"
92105
93106 - name : Install rust nightly
94107 uses : dtolnay/rust-toolchain@nightly
95108 id : install-rust-nightly
96109 with :
97- toolchain : ' nightly-2024-10-06'
98- targets : ' wasm32-wasi, wasm32-unknown-unknown'
99- components : ' rust-src, rustfmt, clippy'
110+ toolchain : " nightly-2024-10-06"
111+ targets : " wasm32-wasi, wasm32-unknown-unknown"
112+ components : " rust-src, rustfmt, clippy"
100113
101114 - name : Install cbindgen
102115 run : cargo install cbindgen
@@ -107,6 +120,9 @@ jobs:
107120 - name : Install Foundry
108121 uses : foundry-rs/foundry-toolchain@v1
109122
123+ - name : Install cbindgen
124+ run : cargo install --force cbindgen
125+
110126 - name : Cache Build Products
111127 uses : actions/cache@v3
112128 with :
@@ -172,6 +188,7 @@ jobs:
172188 echo "GOMEMLIMIT=6GiB" >> "$GITHUB_ENV"
173189 echo "GOGC=80" >> "$GITHUB_ENV"
174190 echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> "$GITHUB_ENV"
191+ echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GITHUB_WORKSPACE/target/lib" >> "$GITHUB_ENV"
175192
176193 - name : run tests without race detection and path state scheme
177194 if : matrix.test-mode == 'defaults'
@@ -211,13 +228,11 @@ jobs:
211228 if : matrix.test-mode == 'defaults'
212229 run : |
213230 gotestsum --format short-verbose -- -run TestProgramStorage$ ./system_tests/... --count 1 --recordBlockInputs.WithBaseDir="${{ github.workspace }}/target" --recordBlockInputs.WithTimestampDirEnabled=false --recordBlockInputs.WithBlockIdInFileNameEnabled=false
214-
215231 - name : run arbitrator prover on block input json
216232 if : matrix.test-mode == 'defaults'
217233 run : |
218234 make build-prover-bin
219235 target/bin/prover target/machines/latest/machine.wavm.br -b --json-inputs="${{ github.workspace }}/target/TestProgramStorage/block_inputs.json"
220-
221236 - name : run jit prover on block input json
222237 if : matrix.test-mode == 'defaults'
223238 run : |
0 commit comments