Browse Source

Disable incremental compilation on CI (#1341)

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!
pull/1327/head
Alex Crichton 5 years ago
committed by GitHub
parent
commit
ec90509387
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/actions/install-rust/main.js

2
.github/actions/install-rust/main.js

@ -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`);

Loading…
Cancel
Save