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!
This commit is contained in:
Alex Crichton
2020-03-17 11:32:34 -05:00
committed by GitHub
parent 724169d412
commit ec90509387

View File

@@ -11,3 +11,5 @@ if (process.platform === 'darwin') {
child_process.execFileSync('rustup', ['set', 'profile', 'minimal']); child_process.execFileSync('rustup', ['set', 'profile', 'minimal']);
child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']); child_process.execFileSync('rustup', ['update', toolchain, '--no-self-update']);
child_process.execFileSync('rustup', ['default', toolchain]); child_process.execFileSync('rustup', ['default', toolchain]);
console.log(`::set-env name=CARGO_INCREMENTAL::0`);