Skip to content

Commit d39a258

Browse files
committed
Enable metrics and verbose tests in PR CI
1 parent 57a4736 commit d39a258

File tree

1 file changed

+5
-14
lines changed

1 file changed

+5
-14
lines changed

src/ci/run.sh

+5-14
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,8 @@ if [ "$FORCE_CI_RUSTC" == "" ]; then
5454
DISABLE_CI_RUSTC_IF_INCOMPATIBLE=1
5555
fi
5656

57-
if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf || \
58-
isCiBranch automation/bors/try; then
59-
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests"
60-
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics"
61-
HAS_METRICS=1
62-
fi
63-
57+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests"
58+
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics"
6459
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-verbose-configure"
6560
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-sccache"
6661
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-manage-submodules"
@@ -266,14 +261,10 @@ if [ "$RUN_CHECK_WITH_PARALLEL_QUERIES" != "" ]; then
266261
$SRC/configure --set change-id=99999999
267262

268263
# Save the build metrics before we wipe the directory
269-
if [ "$HAS_METRICS" = 1 ]; then
270-
mv build/metrics.json .
271-
fi
264+
mv build/metrics.json .
272265
rm -rf build
273-
if [ "$HAS_METRICS" = 1 ]; then
274-
mkdir build
275-
mv metrics.json build
276-
fi
266+
mkdir build
267+
mv metrics.json build
277268

278269
CARGO_INCREMENTAL=0 ../x check
279270
fi

0 commit comments

Comments
 (0)