Enable metrics and verbose tests in PR CI
This commit is contained in:
parent
57a4736e9f
commit
d39a25837d
1 changed files with 5 additions and 14 deletions
|
@ -54,13 +54,8 @@ if [ "$FORCE_CI_RUSTC" == "" ]; then
|
||||||
DISABLE_CI_RUSTC_IF_INCOMPATIBLE=1
|
DISABLE_CI_RUSTC_IF_INCOMPATIBLE=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf || \
|
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests"
|
||||||
isCiBranch automation/bors/try; then
|
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics"
|
||||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests"
|
|
||||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics"
|
|
||||||
HAS_METRICS=1
|
|
||||||
fi
|
|
||||||
|
|
||||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-verbose-configure"
|
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-verbose-configure"
|
||||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-sccache"
|
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-sccache"
|
||||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-manage-submodules"
|
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --disable-manage-submodules"
|
||||||
|
@ -266,14 +261,10 @@ if [ "$RUN_CHECK_WITH_PARALLEL_QUERIES" != "" ]; then
|
||||||
$SRC/configure --set change-id=99999999
|
$SRC/configure --set change-id=99999999
|
||||||
|
|
||||||
# Save the build metrics before we wipe the directory
|
# Save the build metrics before we wipe the directory
|
||||||
if [ "$HAS_METRICS" = 1 ]; then
|
mv build/metrics.json .
|
||||||
mv build/metrics.json .
|
|
||||||
fi
|
|
||||||
rm -rf build
|
rm -rf build
|
||||||
if [ "$HAS_METRICS" = 1 ]; then
|
mkdir build
|
||||||
mkdir build
|
mv metrics.json build
|
||||||
mv metrics.json build
|
|
||||||
fi
|
|
||||||
|
|
||||||
CARGO_INCREMENTAL=0 ../x check
|
CARGO_INCREMENTAL=0 ../x check
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue