File tree Expand file tree Collapse file tree 6 files changed +31
-34
lines changed
Expand file tree Collapse file tree 6 files changed +31
-34
lines changed Original file line number Diff line number Diff line change 2929 strategy :
3030 matrix :
3131 # for now, limit this a bit
32- revision : ["main", "v25 .0.0 "]
32+ revision : ["main", "v38 .0.3 "]
3333 env :
3434 REVISION : ${{ matrix.revision }}
3535 steps :
7676 run : |
7777 cargo run benchmark \
7878 --engine=artifacts/wasmtime-main/libengine.so \
79- --engine=artifacts/wasmtime-v25 .0.0 /libengine.so \
79+ --engine=artifacts/wasmtime-v38 .0.3 /libengine.so \
8080 --processes=4 \
8181 --iterations-per-process=1 \
8282 -- "${PARTITION_SUITE}"
Original file line number Diff line number Diff line change 1111 CARGO_TERM_COLOR : always
1212 RUST_LOG : info
1313
14- # The Wasmtime commit that we build the bench API from for testing. Bumping
15- # this will automatically cause us to update our CI cache on the next run.
16- WASMTIME_COMMIT : " a2e71dafac4d2e42ed6edbc77081d39a40f4c3ff"
14+ REVISION : " v38.0.3"
1715
1816jobs :
1917 format :
@@ -33,23 +31,27 @@ jobs:
3331 os : [ubuntu-latest, macos-latest, windows-latest]
3432 steps :
3533 - uses : actions/checkout@v4
36- - run : rustup update nightly
34+ - run : rustup update
3735 - name : Download Cached Wasmtime engine
3836 uses : actions/cache@v4
3937 id : wasmtime-cache
4038 with :
4139 path : engines/wasmtime/*
42- key : wasmtime-${{ runner.os }}-${{ env.WASMTIME_COMMIT }}
40+ key : wasmtime-${{ runner.os }}-${{ env.REVISION }}
4341
4442 - name : Build Wasmtime engine
4543 if : steps.wasmtime-cache.outputs.cache-hit != 'true'
4644 working-directory : ./engines/wasmtime
45+ env :
46+ REVISION : ${{ env.REVISION }}
4747 run : |
4848 rustc build.rs
4949 ./build
5050
5151 - name : Build all
52- run : cargo +nightly build --verbose --all
52+ run : cargo build --verbose --all
5353
5454 - name : Test all
55- run : cargo +nightly test --verbose --all
55+ run : cargo test --verbose --all
56+ env :
57+ RUST_BACKTRACE : 1
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ RUN wget https://ziglang.org/download/0.12.0/zig-linux-x86_64-0.12.0.tar.xz
99RUN tar --extract --verbose --file=zig-linux-x86_64-0.12.0.tar.xz
1010ENV PATH="${PATH}:/zig-linux-x86_64-0.12.0"
1111RUN echo "zig version = $(zig version)"
12- RUN wget https://github.com/jedisct1/libsodium/archive/stable.zip
13- RUN unzip stable.zip
14- RUN mv /libsodium-stable /libsodium
12+ RUN wget https://github.com/jedisct1/libsodium/releases/download/1.0.20-RELEASE/libsodium-1.0.20.tar.gz
13+ RUN tar -xzf libsodium-1.0.20.tar.gz
14+ RUN mv /libsodium-1.0.20 /libsodium
1515
1616# Build the benchmarks. Note how we patch the self-timing code with calls to the
1717# Sightglass `bench_start()` and `bench_end()` functions. Also note that each
Original file line number Diff line number Diff line change @@ -398,7 +398,10 @@ impl BenchmarkCommand {
398398
399399 anyhow:: ensure!(
400400 output. status. success( ) ,
401- "benchmark subprocess did not exit successfully"
401+ "benchmark subprocess did not exit successfully: {}\n stderr: {}\n stdout: {}" ,
402+ output. status,
403+ String :: from_utf8_lossy( & output. stderr) ,
404+ String :: from_utf8_lossy( & output. stdout)
402405 ) ;
403406
404407 eprintln ! ( "." ) ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ edition = "2021"
99anyhow = " 1.0"
1010libloading = " 0.7"
1111log = " 0.4"
12- precision = " 0.1.15 "
12+ precision = { git = " https://github.com/posborne/rust-precision.git " , branch = " target-stable-asm " }
1313serde = { version = " 1.0.118" , features = [" derive" ] }
1414sightglass-build = { path = " ../build" }
1515sightglass-data = { path = " ../data" }
You can’t perform that action at this time.
0 commit comments