Skip to content

Commit 32d46f0

Browse files
fix
1 parent 2b6db26 commit 32d46f0

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.ci/monolithic-linux.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ start-group "ninja"
6666

6767
# Targets are not escaped as they are passed as separate arguments.
6868
ninja -C "${BUILD_DIR}" -k 0 ${targets} |& tee ninja.log
69-
cp .ninja_log ninja.ninja_log
69+
cp ${BUILD_DIR}/.ninja_log ninja.ninja_log
7070

7171
if [[ "${runtime_targets}" != "" ]]; then
7272
start-group "ninja Runtimes"
7373

7474
ninja -C "${BUILD_DIR}" ${runtime_targets} |& tee ninja_runtimes.log
75-
cp .ninja_log ninja_runtimes.ninja_log
75+
cp ${BUILD_DIR}/.ninja_log ninja_runtimes.ninja_log
7676
fi
7777

7878
# Compiling runtimes with just-built Clang and running their tests
@@ -89,7 +89,7 @@ if [[ "${runtime_targets_needs_reconfig}" != "" ]]; then
8989

9090
ninja -C "${BUILD_DIR}" ${runtime_targets_needs_reconfig} \
9191
|& tee ninja_runtimes_needs_reconfig1.log
92-
cp .ninja_log ninja_runtimes_needs_reconig.ninja_log
92+
cp ${BUILD_DIR}/.ninja_log ninja_runtimes_needs_reconig.ninja_log
9393

9494
start-group "CMake Runtimes Clang Modules"
9595

@@ -102,5 +102,5 @@ if [[ "${runtime_targets_needs_reconfig}" != "" ]]; then
102102

103103
ninja -C "${BUILD_DIR}" ${runtime_targets_needs_reconfig} \
104104
|& tee ninja_runtimes_needs_reconfig2.log
105-
cp .ninja_log ninja_runtimes_needs_reconfig2.ninja_log
105+
cp ${BUILD_DIR}/.ninja_log ninja_runtimes_needs_reconfig2.ninja_log
106106
fi

.ci/monolithic-windows.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ start-group "ninja"
5555

5656
# Targets are not escaped as they are passed as separate arguments.
5757
ninja -C "${BUILD_DIR}" -k 0 ${targets} |& tee ninja.log
58-
cp .ninja_log ninja.ninja_log
58+
cp ${BUILD_DIR}/.ninja_log ninja.ninja_log
5959

6060
if [[ "${runtime_targets}" != "" ]]; then
6161
start-group "ninja runtimes"
6262

6363
ninja -C "${BUILD_DIR}" -k 0 ${runtimes_targets} |& tee ninja_runtimes.log
64-
cp .ninja_log ninja_runtimes.ninja_log
64+
cp ${BUILD_DIR}/.ninja_log ninja_runtimes.ninja_log
6565
fi

.ci/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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/ || :
29+
cp "${MONOREPO_ROOT}"/*.ninja_log artifacts/ || :
3030
cp "${MONOREPO_ROOT}"/*.log artifacts/ || :
3131
cp "${BUILD_DIR}"/test-results.*.xml artifacts/ || :
3232

0 commit comments

Comments
 (0)