|
58 | 58 | COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
|
59 | 59 | run: |
|
60 | 60 | cd src/ci/citool
|
61 |
| - cargo test |
62 |
| - cargo run calculate-job-matrix >> $GITHUB_OUTPUT |
| 61 | + CARGO_INCREMENTAL=0 cargo test |
| 62 | + CARGO_INCREMENTAL=0 cargo run calculate-job-matrix >> $GITHUB_OUTPUT |
63 | 63 | id: jobs
|
64 | 64 | job:
|
65 | 65 | name: ${{ matrix.full_name }}
|
@@ -183,11 +183,11 @@ jobs:
|
183 | 183 | run: src/ci/scripts/dump-environment.sh
|
184 | 184 |
|
185 | 185 | # Pre-build citool before the following step uninstalls rustup
|
186 |
| - # Build is into the build directory, to avoid modifying sources |
| 186 | + # Build it into the build directory, to avoid modifying sources |
187 | 187 | - name: build citool
|
188 | 188 | run: |
|
189 | 189 | cd src/ci/citool
|
190 |
| - CARGO_TARGET_DIR=../../../build/citool cargo build |
| 190 | + CARGO_INCREMENTAL=0 CARGO_TARGET_DIR=../../../build/citool cargo build |
191 | 191 |
|
192 | 192 | - name: run the build
|
193 | 193 | # Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
|
@@ -238,13 +238,9 @@ jobs:
|
238 | 238 | - name: upload job metrics to DataDog
|
239 | 239 | if: needs.calculate_matrix.outputs.run_type != 'pr'
|
240 | 240 | env:
|
241 |
| - DATADOG_SITE: datadoghq.com |
242 | 241 | DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }}
|
243 | 242 | DD_GITHUB_JOB_NAME: ${{ matrix.full_name }}
|
244 |
| - run: | |
245 |
| - cd src/ci |
246 |
| - npm ci |
247 |
| - python3 scripts/upload-build-metrics.py ../../build/cpu-usage.csv |
| 243 | + run: ./build/citool/debug/citool upload-build-metrics build/cpu-usage.csv |
248 | 244 |
|
249 | 245 | # This job isused to tell bors the final status of the build, as there is no practical way to detect
|
250 | 246 | # when a workflow is successful listening to webhooks only in our current bors implementation (homu).
|
|
0 commit comments