Skip to content

Commit 341e1a7

Browse files
Build all 4 build kinds on CI
Pair Doc and Check together -- both are fairly fast.
1 parent fd78f43 commit 341e1a7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
"--include webrender-wrench,style-servo",
4242
"--include script-servo",
4343
]
44+
BUILD_KINDS: [
45+
"Check,Doc",
46+
"Debug",
47+
"Opt",
48+
]
4449
name: Test benchmarks
4550
runs-on: ubuntu-latest
4651
steps:
@@ -71,6 +76,7 @@ jobs:
7176
run: sh -x -c "ci/check-benchmarks.sh"
7277
env:
7378
BENCH_INCLUDE_EXCLUDE_OPTS: ${{ matrix.BENCH_INCLUDE_EXCLUDE_OPTS }}
79+
BUILD_KINDS: ${{ matrix.BUILD_KINDS }}
7480
SHELL: "/bin/bash"
7581

7682
test_profiling:

ci/check-benchmarks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUST_BACKTRACE=1 \
1717
RUST_LOG=raw_cargo_messages=trace,collector=debug,rust_sysroot=debug \
1818
cargo run -p collector --bin collector -- \
1919
bench_local $bindir/rustc Test \
20-
--builds Check,Doc \
20+
--builds $BUILD_KINDS \
2121
--cargo $bindir/cargo \
2222
--runs All \
2323
--rustdoc $bindir/rustdoc \

0 commit comments

Comments
 (0)