diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-02-13 17:02:38 +0100 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-03-05 12:11:15 +0100 |
| commit | 26e42de17c57e79a176da5782d6d92e6ae17a410 (patch) | |
| tree | 4dae4dac04ee09957e9c0182d1316fafd401f51e | |
| parent | ac951d379913c667a1fb73a0830e81d65d2007cf (diff) | |
| download | rust-26e42de17c57e79a176da5782d6d92e6ae17a410.tar.gz rust-26e42de17c57e79a176da5782d6d92e6ae17a410.zip | |
Make citool compilation faster
| -rw-r--r-- | .github/workflows/ci.yml | 6 | ||||
| -rw-r--r-- | src/ci/citool/Cargo.toml | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a91598586b9..be4919ce1a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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. diff --git a/src/ci/citool/Cargo.toml b/src/ci/citool/Cargo.toml index 11172832cb8..3b325268309 100644 --- a/src/ci/citool/Cargo.toml +++ b/src/ci/citool/Cargo.toml @@ -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 |
