Skip to content

Commit de06f09

Browse files
committed
CI: Disable incremental build for faster CI
1 parent 9d94d7e commit de06f09

File tree

7 files changed

+28
-0
lines changed

7 files changed

+28
-0
lines changed

.github/workflows/CICD.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ jobs:
9898
env:
9999
SCCACHE_GHA_ENABLED: "true"
100100
RUSTC_WRAPPER: "sccache"
101+
CARGO_INCREMENTAL: 0
101102
strategy:
102103
fail-fast: false
103104
matrix:
@@ -163,6 +164,7 @@ jobs:
163164
env:
164165
SCCACHE_GHA_ENABLED: "true"
165166
RUSTC_WRAPPER: "sccache"
167+
CARGO_INCREMENTAL: 0
166168
strategy:
167169
matrix:
168170
job:
@@ -269,6 +271,7 @@ jobs:
269271
env:
270272
SCCACHE_GHA_ENABLED: "true"
271273
RUSTC_WRAPPER: "sccache"
274+
CARGO_INCREMENTAL: 0
272275
strategy:
273276
fail-fast: false
274277
matrix:
@@ -405,6 +408,7 @@ jobs:
405408
env:
406409
SCCACHE_GHA_ENABLED: "true"
407410
RUSTC_WRAPPER: "sccache"
411+
CARGO_INCREMENTAL: 0
408412
strategy:
409413
fail-fast: false
410414
matrix:
@@ -444,6 +448,7 @@ jobs:
444448
env:
445449
SCCACHE_GHA_ENABLED: "true"
446450
RUSTC_WRAPPER: "sccache"
451+
CARGO_INCREMENTAL: 0
447452
strategy:
448453
fail-fast: false
449454
matrix:
@@ -484,6 +489,7 @@ jobs:
484489
env:
485490
SCCACHE_GHA_ENABLED: "true"
486491
RUSTC_WRAPPER: "sccache"
492+
CARGO_INCREMENTAL: 0
487493
strategy:
488494
fail-fast: false
489495
matrix:
@@ -610,6 +616,7 @@ jobs:
610616
DOCKER_OPTS: '--volume /etc/passwd:/etc/passwd --volume /etc/group:/etc/group'
611617
SCCACHE_GHA_ENABLED: "true"
612618
RUSTC_WRAPPER: "sccache"
619+
CARGO_INCREMENTAL: 0
613620
strategy:
614621
fail-fast: false
615622
matrix:
@@ -920,6 +927,7 @@ jobs:
920927
env:
921928
SCCACHE_GHA_ENABLED: "true"
922929
RUSTC_WRAPPER: "sccache"
930+
CARGO_INCREMENTAL: 0
923931
strategy:
924932
fail-fast: false
925933
matrix:
@@ -1001,6 +1009,7 @@ jobs:
10011009
env:
10021010
SCCACHE_GHA_ENABLED: "true"
10031011
RUSTC_WRAPPER: "sccache"
1012+
CARGO_INCREMENTAL: 0
10041013
strategy:
10051014
fail-fast: false
10061015
matrix:
@@ -1094,6 +1103,7 @@ jobs:
10941103
env:
10951104
SCCACHE_GHA_ENABLED: "true"
10961105
RUSTC_WRAPPER: "sccache"
1106+
CARGO_INCREMENTAL: 0
10971107
strategy:
10981108
fail-fast: false
10991109
matrix:

.github/workflows/benchmarks.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ jobs:
2020
benchmarks:
2121
name: Run ${{ matrix.type }} benchmarks for ${{ matrix.package }} (CodSpeed)
2222
runs-on: ubuntu-latest
23+
env:
24+
RUSTC_WRAPPER: sccache
25+
CARGO_INCREMENTAL: 0
26+
SCCACHE_GHA_ENABLED: "true"
2327
strategy:
2428
matrix:
2529
type: [simulation] # , memory] # memory profile disabled due to variance

.github/workflows/code-quality.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
env:
7575
SCCACHE_GHA_ENABLED: "true"
7676
RUSTC_WRAPPER: "sccache"
77+
CARGO_INCREMENTAL: 0
7778
strategy:
7879
fail-fast: false
7980
matrix:

.github/workflows/freebsd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
# To ensure that files are cleaned up, we don't want to exit on error
9494
set +e
9595
unset FAULT
96+
export CARGO_INCREMENTAL=0
9697
## cargo fmt testing
9798
echo "## cargo fmt testing"
9899
# * convert any errors/warnings to GHA UI annotations; ref: <https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-a-warning-message>
@@ -179,6 +180,7 @@ jobs:
179180
set +e
180181
cd "${WORKSPACE}"
181182
unset FAULT
183+
export CARGO_INCREMENTAL=0
182184
export RUSTFLAGS="-C strip=symbols" # for disk space
183185
cargo build || FAULT=1
184186
export PATH=~/.cargo/bin:${PATH}

.github/workflows/l10n.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
env:
2929
SCCACHE_GHA_ENABLED: "true"
3030
RUSTC_WRAPPER: "sccache"
31+
CARGO_INCREMENTAL: 0
3132
strategy:
3233
fail-fast: false
3334
matrix:
@@ -130,6 +131,7 @@ jobs:
130131
env:
131132
SCCACHE_GHA_ENABLED: "true"
132133
RUSTC_WRAPPER: "sccache"
134+
CARGO_INCREMENTAL: 0
133135
steps:
134136
- uses: actions/checkout@v6
135137
with:
@@ -300,6 +302,7 @@ jobs:
300302
env:
301303
SCCACHE_GHA_ENABLED: "true"
302304
RUSTC_WRAPPER: "sccache"
305+
CARGO_INCREMENTAL: 0
303306
steps:
304307
- uses: actions/checkout@v6
305308
with:
@@ -409,6 +412,7 @@ jobs:
409412
env:
410413
SCCACHE_GHA_ENABLED: "true"
411414
RUSTC_WRAPPER: "sccache"
415+
CARGO_INCREMENTAL: 0
412416
strategy:
413417
fail-fast: false
414418
matrix:
@@ -560,6 +564,7 @@ jobs:
560564
env:
561565
SCCACHE_GHA_ENABLED: "true"
562566
RUSTC_WRAPPER: "sccache"
567+
CARGO_INCREMENTAL: 0
563568
strategy:
564569
fail-fast: false
565570
matrix:
@@ -899,6 +904,7 @@ jobs:
899904
env:
900905
SCCACHE_GHA_ENABLED: "true"
901906
RUSTC_WRAPPER: "sccache"
907+
CARGO_INCREMENTAL: 0
902908
steps:
903909
- uses: actions/checkout@v6
904910
with:
@@ -1130,6 +1136,7 @@ jobs:
11301136
env:
11311137
SCCACHE_GHA_ENABLED: "true"
11321138
RUSTC_WRAPPER: "sccache"
1139+
CARGO_INCREMENTAL: 0
11331140
steps:
11341141
- uses: actions/checkout@v6
11351142
with:
@@ -1251,6 +1258,7 @@ jobs:
12511258
env:
12521259
SCCACHE_GHA_ENABLED: "true"
12531260
RUSTC_WRAPPER: "sccache"
1261+
CARGO_INCREMENTAL: 0
12541262
steps:
12551263
- uses: actions/checkout@v6
12561264
with:

.github/workflows/openbsd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ jobs:
5858
# * NOTE: All steps need to be run in this block, otherwise, we are operating back on the mac host
5959
set -e
6060
#
61+
export CARGO_INCREMENTAL=0
6162
TEST_USER=tester
6263
REPO_NAME=${GITHUB_WORKSPACE##*/}
6364
WORKSPACE_PARENT="/home/runner/work/${REPO_NAME}"
@@ -153,6 +154,7 @@ jobs:
153154
# * NOTE: All steps need to be run in this block, otherwise, we are operating back on the mac host
154155
set -e
155156
#
157+
export CARGO_INCREMENTAL=0
156158
TEST_USER=tester
157159
REPO_NAME=${GITHUB_WORKSPACE##*/}
158160
WORKSPACE_PARENT="/home/runner/work/${REPO_NAME}"

.github/workflows/wsl2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,5 @@ jobs:
6666
. "$HOME/.cargo/env"
6767
export CARGO_TERM_COLOR=always
6868
export RUST_BACKTRACE=1
69+
CARGO_INCREMENTAL=0
6970
cargo nextest run --hide-progress-bar --profile ci --features '${{ matrix.job.features }}'

0 commit comments

Comments
 (0)