enable build.metrics on CI
This commit is contained in:
parent
53965d3daf
commit
1c009e7e53
2 changed files with 4 additions and 0 deletions
|
|
@ -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}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue