Skip to content

Commit 8851006

Browse files
committed
fix(ci): improve compilation speed
1 parent b2b5747 commit 8851006

4 files changed

Lines changed: 9 additions & 1 deletion

File tree

.cargo/mutants.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
profile = "mutants"
2+
13
exclude_globs = [
24
"src/passes/codegen.rs", # Until LLVM snapshot tests are implemented.
35
"src/ty/solver.rs", # Until solver is hardened and tested.

.github/actions/setup/action.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ runs:
3131
rustup toolchain install stable --profile minimal --no-self-update
3232
3333
- uses: Swatinem/rust-cache@v2
34+
35+
# spell-checker:ignore libtinfo,Swatinem

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
env:
1010
CARGO_TERM_COLOR: "always"
11+
CARGO_INCREMENTAL: 0
1112
LLVM_PATH: "${{ github.workspace }}/llvm"
1213
LLVM_VERSION: "18.1"
1314

@@ -101,4 +102,3 @@ jobs:
101102
name: mutants-out
102103
path: mutants.out
103104

104-
# spell-checker:ignore libtinfo,Swatinem

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ thiserror = "2.0.17"
1212
insta = "1.46.0"
1313
mockall = "0.14.0"
1414
rstest = "0.26.1"
15+
16+
[profile.mutants]
17+
inherits = "test"
18+
debug = "none"

0 commit comments

Comments
 (0)