|
7 | 7 | push: |
8 | 8 | branches: [master] |
9 | 9 |
|
10 | | - # Run a scheduled CI every day to catch regressions from nightly or new version |
11 | | - # releases early. |
| 10 | + # Run a scheduled CI every day to catch regressions from nightly or new |
| 11 | + # version releases early. |
12 | 12 | schedule: |
13 | 13 | - cron: 0 12 * * * |
14 | 14 |
|
|
28 | 28 | jobs: |
29 | 29 | # Sanity-check that benchmarks work |
30 | 30 | runtime-benchmarks: |
31 | | - # We are using a bit older version for an older `valgrind`, because the newer |
32 | | - # version has some breaking change in cachegrind output, which `iai` can't parse. |
33 | | - runs-on: ubuntu-22.04 |
| 31 | + runs-on: ubuntu-latest |
34 | 32 | strategy: |
35 | 33 | matrix: |
36 | 34 | benchmark: |
|
45 | 43 | - uses: actions/checkout@v4 |
46 | 44 | - uses: actions-rust-lang/setup-rust-toolchain@v1 |
47 | 45 |
|
| 46 | + - uses: taiki-e/install-action@cargo-binstall |
| 47 | + - run: cargo binstall iai-callgrind-runner --version $(cargo pkgid iai-callgrind | cut -d@ -f2) |
| 48 | + |
48 | 49 | - run: sudo apt-get update && sudo apt-get install -y valgrind |
49 | 50 | - run: cd ./benchmarks/runtime && ./run.sh ${{ matrix.benchmark }} |
50 | 51 |
|
@@ -114,8 +115,14 @@ jobs: |
114 | 115 |
|
115 | 116 | - run: cargo clippy --all-features --all-targets ${{ matrix.locked }} |
116 | 117 |
|
117 | | - - run: cargo test ${{ matrix.locked }} --all-features --all-targets |
118 | | - - run: cargo test ${{ matrix.locked }} --all-features --doc |
| 118 | + - run: | |
| 119 | + cargo test ${{ matrix.locked }} --workspace --all-features \ |
| 120 | + --exclude runtime-benchmarks --all-targets |
| 121 | +
|
| 122 | + - run: | |
| 123 | + cargo test ${{ matrix.locked }} --workspace --all-features \ |
| 124 | + --exclude runtime-benchmarks --doc |
| 125 | +
|
119 | 126 | - run: | |
120 | 127 | cd bon && cargo test ${{ matrix.locked }} --no-default-features \ |
121 | 128 | --features=experimental-overwritable |
@@ -276,7 +283,7 @@ jobs: |
276 | 283 |
|
277 | 284 | - uses: actions/setup-node@v4 |
278 | 285 | with: |
279 | | - node-version: 22 |
| 286 | + node-version: 24 |
280 | 287 | cache: npm |
281 | 288 | cache-dependency-path: website/package-lock.json |
282 | 289 |
|
|
0 commit comments