File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -177,10 +177,11 @@ jobs:
177177 run : src/ci/scripts/verify-stable-version-number.sh
178178
179179 # Pre-build citool before the following step uninstalls rustup
180+ # Build is into the build directory, to avoid modifying sources
180181 - name : build citool
181182 run : |
182183 cd src/ci/citool
183- cargo build
184+ CARGO_TARGET_DIR=../../../build/citool cargo build
184185
185186 - name : run the build
186187 # Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
@@ -223,7 +224,7 @@ jobs:
223224 env :
224225 DATADOG_API_KEY : ${{ secrets.DATADOG_API_KEY }}
225226 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
227228
228229 # This job isused to tell bors the final status of the build, as there is no practical way to detect
229230 # 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