Skip to content

Commit

Permalink
Disable incremental compilation on CI (#1341)
Browse files Browse the repository at this point in the history
This should save us about 3GB of target directory disk space and it may
also be a tiny speed boost. There's no real benefit to using incremental
builds on CI because we're not changing code anyway!
  • Loading branch information
alexcrichton authored Mar 17, 2020
1 parent 724169d commit ec90509
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/actions/install-rust/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ if (process.platform === 'darwin') {
child_process.execFileSync('rustup', ['set', 'profile', 'minimal']);
child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']);
child_process.execFileSync('rustup', ['default', toolchain]);

console.log(`::set-env name=CARGO_INCREMENTAL::0`);

0 comments on commit ec90509

Please sign in to comment.