File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,13 @@ start-group "ninja"
6666
6767# Targets are not escaped as they are passed as separate arguments.
6868ninja -C " ${BUILD_DIR} " -k 0 ${targets} | & tee ninja.log
69+ cp ${BUILD_DIR} /.ninja_log ninja.ninja_log
6970
7071if [[ " ${runtime_targets} " != " " ]]; then
7172 start-group " ninja Runtimes"
7273
7374 ninja -C " ${BUILD_DIR} " ${runtime_targets} | & tee ninja_runtimes.log
75+ cp ${BUILD_DIR} /.ninja_log ninja_runtimes.ninja_log
7476fi
7577
7678# Compiling runtimes with just-built Clang and running their tests
@@ -87,6 +89,7 @@ if [[ "${runtime_targets_needs_reconfig}" != "" ]]; then
8789
8890 ninja -C " ${BUILD_DIR} " ${runtime_targets_needs_reconfig} \
8991 | & tee ninja_runtimes_needs_reconfig1.log
92+ cp ${BUILD_DIR} /.ninja_log ninja_runtimes_needs_reconig.ninja_log
9093
9194 start-group " CMake Runtimes Clang Modules"
9295
@@ -99,4 +102,5 @@ if [[ "${runtime_targets_needs_reconfig}" != "" ]]; then
99102
100103 ninja -C " ${BUILD_DIR} " ${runtime_targets_needs_reconfig} \
101104 | & tee ninja_runtimes_needs_reconfig2.log
105+ cp ${BUILD_DIR} /.ninja_log ninja_runtimes_needs_reconfig2.ninja_log
102106fi
Original file line number Diff line number Diff line change @@ -55,9 +55,11 @@ start-group "ninja"
5555
5656# Targets are not escaped as they are passed as separate arguments.
5757ninja -C " ${BUILD_DIR} " -k 0 ${targets} | & tee ninja.log
58+ cp ${BUILD_DIR} /.ninja_log ninja.ninja_log
5859
5960if [[ " ${runtime_targets} " != " " ]]; then
6061 start-group " ninja runtimes"
6162
6263 ninja -C " ${BUILD_DIR} " -k 0 ${runtimes_targets} | & tee ninja_runtimes.log
64+ cp ${BUILD_DIR} /.ninja_log ninja_runtimes.ninja_log
6365fi
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ function at-exit {
2626 mkdir -p artifacts
2727 sccache --show-stats
2828 sccache --show-stats >> artifacts/sccache_stats.txt
29- cp " ${BUILD_DIR } " /.ninja_log artifacts/.ninja_log
29+ cp " ${MONOREPO_ROOT } " /* .ninja_log artifacts/ || :
3030 cp " ${MONOREPO_ROOT} " /* .log artifacts/ || :
3131 cp " ${BUILD_DIR} " /test-results.* .xml artifacts/ || :
3232
You can’t perform that action at this time.
0 commit comments