mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 02:06:30 +00:00
[Github][CI] Upload .ninja_log as an artifact
This enables using tools like https://github.com/nico/ninjatracing for performance introspection. Reviewers: mizvekov, lnihlen, tstellar, Endilll, Keenuts Reviewed By: Keenuts Pull Request: https://github.com/llvm/llvm-project/pull/135539
This commit is contained in:
parent
bcbdbd25c0
commit
dbeb7c1bbb
@ -33,6 +33,7 @@ function at-exit {
|
||||
|
||||
mkdir -p artifacts
|
||||
ccache --print-stats > artifacts/ccache_stats.txt
|
||||
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
|
||||
|
||||
# If building fails there will be no results files.
|
||||
shopt -s nullglob
|
||||
|
@ -32,6 +32,7 @@ function at-exit {
|
||||
|
||||
mkdir -p artifacts
|
||||
sccache --show-stats >> artifacts/sccache_stats.txt
|
||||
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
|
||||
|
||||
# If building fails there will be no results files.
|
||||
shopt -s nullglob
|
||||
|
Loading…
x
Reference in New Issue
Block a user