README Source History Refs Reviews Compare Notes Search Review guide ci: pin rust 1.98, cache cargo home and target
01097b0d2fbe9e2997e48f857fe600b9f7033061
Oliver Jan Krylow <oliver@bugabinga.net > · 26 Sep 2026
SSH signature · not checked
Browse files Compare with HEAD
Changed files (5) Diff layout Auto Unified Split
+14 / −2 text lines
1 1 job "check" {job "check" {2 - image "docker.io/library/rust:latest " 2 + image "docker.io/library/rust:1.98 " 5 5 branch "trunk" branch "trunk"
20 + run "export CARGO_HOME=\"$PWD/.cargo-home\"" 8 21 run "rustup target add wasm32-wasip2" run "rustup target add wasm32-wasip2" 9 - run "rustup component add rustfmt clippy"
10 22 run "cargo run -p xtask -- ci" run "cargo run -p xtask -- ci" +14 / −2 text lines
2 - image "docker.io/library/rust:latest " 2 + image "docker.io/library/rust:1.98 " 5 5 branch "trunk" branch "trunk"
20 + run "export CARGO_HOME=\"$PWD/.cargo-home\"" 8 21 run "rustup target add wasm32-wasip2" run "rustup target add wasm32-wasip2" 9 - run "rustup component add rustfmt clippy"
10 22 run "cargo run -p xtask -- bootstrap" run "cargo run -p xtask -- bootstrap" 11 23 run "cargo run -p xtask -- e2e" run "cargo run -p xtask -- e2e" +16 / −3 text lines
1 1 job "nightly" {job "nightly" {2 - image "docker.io/library/rust:latest " 2 + image "docker.io/library/rust:1.98 " 4 4 schedule "0 3 * * *" schedule "0 3 * * *" 6 - run "rustup target add wasm32-wasip2" 7 - run "rustup component add rustfmt clippy llvm-tools" 8 18 cache "valgrind" { cache "valgrind" {9 19 path "target/tools/valgrind" path "target/tools/valgrind" 11 21 file ".ci/nightly.kdl" file ".ci/nightly.kdl"
24 + run "export CARGO_HOME=\"$PWD/.cargo-home\"" 25 + run "rustup target add wasm32-wasip2" 26 + run "rustup component add llvm-tools" 14 27 run "V=$PWD/target/tools/valgrind; test -x $V/bin/valgrind || (mkdir -p target/tools/src && curl -sSL https://sourceware.org/pub/valgrind/valgrind-3.25.1.tar.bz2 | tar -xj -C target/tools/src && cd target/tools/src/valgrind-3.25.1 && ./configure -q --prefix=$V >/dev/null && make -s -j$(nproc) >/dev/null && make -s install >/dev/null)" run "V=$PWD/target/tools/valgrind; test -x $V/bin/valgrind || (mkdir -p target/tools/src && curl -sSL https://sourceware.org/pub/valgrind/valgrind-3.25.1.tar.bz2 | tar -xj -C target/tools/src && cd target/tools/src/valgrind-3.25.1 && ./configure -q --prefix=$V >/dev/null && make -s -j$(nproc) >/dev/null && make -s install >/dev/null)" 15 28 run "cargo run -p xtask -- bootstrap" run "cargo run -p xtask -- bootstrap" 16 29 run "cargo run -p xtask -- mutants || echo 'missed mutants recorded in the report'" run "cargo run -p xtask -- mutants || echo 'missed mutants recorded in the report'" +14 / −1 text lines
1 1 job "perf" {job "perf" {2 - image "docker.io/library/rust:latest " 2 + image "docker.io/library/rust:1.98 " 5 5 branch "trunk" branch "trunk" 8 20 cache "valgrind" { cache "valgrind" {9 21 path "target/tools/valgrind" path "target/tools/valgrind" 11 23 file ".ci/perf.kdl" file ".ci/perf.kdl"
26 + run "export CARGO_HOME=\"$PWD/.cargo-home\"" 14 27 run "V=$PWD/target/tools/valgrind; test -x $V/bin/valgrind || (mkdir -p target/tools/src && curl -sSL https://sourceware.org/pub/valgrind/valgrind-3.25.1.tar.bz2 | tar -xj -C target/tools/src && cd target/tools/src/valgrind-3.25.1 && ./configure -q --prefix=$V >/dev/null && make -s -j$(nproc) >/dev/null && make -s install >/dev/null)" run "V=$PWD/target/tools/valgrind; test -x $V/bin/valgrind || (mkdir -p target/tools/src && curl -sSL https://sourceware.org/pub/valgrind/valgrind-3.25.1.tar.bz2 | tar -xj -C target/tools/src && cd target/tools/src/valgrind-3.25.1 && ./configure -q --prefix=$V >/dev/null && make -s -j$(nproc) >/dev/null && make -s install >/dev/null)" 15 28 run "cargo run -p xtask -- bootstrap" run "cargo run -p xtask -- bootstrap" 16 29 run "PATH=$PWD/target/tools/valgrind/bin:$PATH cargo run -p xtask -- perf" run "PATH=$PWD/target/tools/valgrind/bin:$PATH cargo run -p xtask -- perf" +16 / −3 text lines
1 1 job "report" {job "report" {2 - image "docker.io/library/rust:latest" 3 - run "rustup target add wasm32-wasip2" 4 - run "rustup component add rustfmt clippy llvm-tools" 2 + image "docker.io/library/rust:1.98" 5 15 cache "valgrind" { cache "valgrind" {6 16 path "target/tools/valgrind" path "target/tools/valgrind" 8 18 file ".ci/report.kdl" file ".ci/report.kdl"
21 + run "export CARGO_HOME=\"$PWD/.cargo-home\"" 22 + run "rustup target add wasm32-wasip2" 23 + run "rustup component add llvm-tools" 11 24 run "V=$PWD/target/tools/valgrind; test -x $V/bin/valgrind || (mkdir -p target/tools/src && curl -sSL https://sourceware.org/pub/valgrind/valgrind-3.25.1.tar.bz2 | tar -xj -C target/tools/src && cd target/tools/src/valgrind-3.25.1 && ./configure -q --prefix=$V >/dev/null && make -s -j$(nproc) >/dev/null && make -s install >/dev/null)" run "V=$PWD/target/tools/valgrind; test -x $V/bin/valgrind || (mkdir -p target/tools/src && curl -sSL https://sourceware.org/pub/valgrind/valgrind-3.25.1.tar.bz2 | tar -xj -C target/tools/src && cd target/tools/src/valgrind-3.25.1 && ./configure -q --prefix=$V >/dev/null && make -s -j$(nproc) >/dev/null && make -s install >/dev/null)" 12 25 run "cargo run -p xtask -- bootstrap" run "cargo run -p xtask -- bootstrap" 13 26 run "PATH=$PWD/target/tools/valgrind/bin:$PATH cargo run -p xtask -- report" run "PATH=$PWD/target/tools/valgrind/bin:$PATH cargo run -p xtask -- report"