File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -177,10 +177,11 @@ jobs:
177
177
run : src/ci/scripts/verify-stable-version-number.sh
178
178
179
179
# Pre-build citool before the following step uninstalls rustup
180
+ # Build is into the build directory, to avoid modifying sources
180
181
- name : build citool
181
182
run : |
182
183
cd src/ci/citool
183
- cargo build
184
+ CARGO_TARGET_DIR=../../../build/citool cargo build
184
185
185
186
- name : run the build
186
187
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
@@ -223,7 +224,7 @@ jobs:
223
224
env :
224
225
DATADOG_API_KEY : ${{ secrets.DATADOG_API_KEY }}
225
226
DD_GITHUB_JOB_NAME : ${{ matrix.full_name }}
226
- run : ./src/ci/ citool/target /debug/citool upload-build-metrics build/cpu-usage.csv
227
+ run : ./build/ citool/debug/citool upload-build-metrics build/cpu-usage.csv
227
228
228
229
# This job isused to tell bors the final status of the build, as there is no practical way to detect
229
230
# when a workflow is successful listening to webhooks only in our current bors implementation (homu).
You can’t perform that action at this time.
0 commit comments