Make citool compilation faster
This commit is contained in:
parent
ac951d3799
commit
26e42de17c
2 changed files with 7 additions and 3 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -58,8 +58,8 @@ jobs:
|
|||
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
|
||||
run: |
|
||||
cd src/ci/citool
|
||||
cargo test
|
||||
cargo run calculate-job-matrix >> $GITHUB_OUTPUT
|
||||
CARGO_INCREMENTAL=0 cargo test
|
||||
CARGO_INCREMENTAL=0 cargo run calculate-job-matrix >> $GITHUB_OUTPUT
|
||||
id: jobs
|
||||
job:
|
||||
name: ${{ matrix.full_name }}
|
||||
|
@ -187,7 +187,7 @@ jobs:
|
|||
- name: build citool
|
||||
run: |
|
||||
cd src/ci/citool
|
||||
CARGO_TARGET_DIR=../../../build/citool cargo build
|
||||
CARGO_INCREMENTAL=0 CARGO_TARGET_DIR=../../../build/citool cargo build
|
||||
|
||||
- name: run the build
|
||||
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
|
||||
|
|
|
@ -19,3 +19,7 @@ insta = "1"
|
|||
# If this is omitted, cargo will look for a workspace elsewhere.
|
||||
# We want to avoid this, since citool is independent of the other crates.
|
||||
[workspace]
|
||||
|
||||
# Make compilation faster
|
||||
[profile.dev]
|
||||
debug = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue