Make citool compilation faster

This commit is contained in:
Jakub Beránek 2025-02-13 17:02:38 +01:00
parent ac951d3799
commit 26e42de17c
No known key found for this signature in database
GPG key ID: 909CD0D26483516B
2 changed files with 7 additions and 3 deletions

View file

@ -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.

View file

@ -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