ci: Actually enable incremental building (despite the default in rust-cache)

This commit is contained in:
TÖRÖK Attila 2024-02-27 14:13:20 +01:00
parent a342232d5f
commit a23ebb0366
2 changed files with 4 additions and 0 deletions

View File

@ -78,6 +78,9 @@ jobs:
# See: https://github.com/nextest-rs/nextest/issues/1172
run: cargo nextest run --cargo-profile ci --workspace --locked --no-fail-fast --retries 2 -j 4 --features imgtests,lzma,jpegxr
env:
# This is to counteract the disabling by rust-cache.
# See: https://github.com/Swatinem/rust-cache/issues/43
CARGO_INCREMENTAL: '1'
# Supposedly makes "Updating crates.io index" faster on Windows.
# See: https://github.com/rust-lang/cargo/issues/9167
CARGO_NET_GIT_FETCH_WITH_CLI: 'true'

View File

@ -103,4 +103,5 @@ inherits = "release"
opt-level = 2
debug-assertions = true
overflow-checks = true
# This is also set with higher authority in `test_rust.yml`.
incremental = true