Skip to content

Commit dbeb7c1

Browse files
[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: #135539
1 parent bcbdbd2 commit dbeb7c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.ci/monolithic-linux.sh

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function at-exit {
3333

3434
mkdir -p artifacts
3535
ccache --print-stats > artifacts/ccache_stats.txt
36+
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
3637

3738
# If building fails there will be no results files.
3839
shopt -s nullglob

.ci/monolithic-windows.sh

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ function at-exit {
3232

3333
mkdir -p artifacts
3434
sccache --show-stats >> artifacts/sccache_stats.txt
35+
cp "${BUILD_DIR}"/.ninja_log artifacts/.ninja_log
3536

3637
# If building fails there will be no results files.
3738
shopt -s nullglob

0 commit comments

Comments
 (0)