about summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJakub Beránek <berykubik@gmail.com>2025-02-13 17:02:38 +0100
committerJakub Beránek <berykubik@gmail.com>2025-03-05 12:11:15 +0100
commit26e42de17c57e79a176da5782d6d92e6ae17a410 (patch)
tree4dae4dac04ee09957e9c0182d1316fafd401f51e /.github/workflows
parentac951d379913c667a1fb73a0830e81d65d2007cf (diff)
downloadrust-26e42de17c57e79a176da5782d6d92e6ae17a410.tar.gz
rust-26e42de17c57e79a176da5782d6d92e6ae17a410.zip
Make citool compilation faster
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 3 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.