mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
enable build.metrics on CI
This commit is contained in:
@@ -45,6 +45,7 @@ fi
|
||||
|
||||
if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try; then
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests"
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics"
|
||||
fi
|
||||
|
||||
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --enable-sccache"
|
||||
|
||||
@@ -23,6 +23,9 @@ fi
|
||||
# CPU usage statistics.
|
||||
cp cpu-usage.csv "${upload_dir}/cpu-${CI_JOB_NAME}.csv"
|
||||
|
||||
# Build metrics generated by x.py.
|
||||
cp "${dist_dir}/../metrics.json" "${upload_dir}/metrics-${CI_JOB_NAME}.json"
|
||||
|
||||
# Toolstate data.
|
||||
if [[ -n "${DEPLOY_TOOLSTATES_JSON+x}" ]]; then
|
||||
cp /tmp/toolstate/toolstates.json "${upload_dir}/${DEPLOY_TOOLSTATES_JSON}"
|
||||
|
||||
Reference in New Issue
Block a user