Re-enable sccache for Linux builds

As far as I know, sccache is working properly
on the non-cross-compiling Linux builders.
For safety, only enable it for the builders that run on PRs,
to avoid breaking our nightly generation and scheduled test runs.

This will also allow testing new versions of sccache more easily.
This commit is contained in:
Aneesh Agrawal 2018-01-27 15:26:41 -08:00
parent bc7dd644f6
commit 9f59050677

View file

@ -96,40 +96,52 @@ mac-rel-intermittent:
- ./etc/ci/check_intermittents.sh --log-raw intermittents.log - ./etc/ci/check_intermittents.sh --log-raw intermittents.log
linux-dev: linux-dev:
- ./mach clean-nightlies --keep 3 --force env:
- ./mach clean-cargo-cache --keep 3 --force CCACHE: sccache
- ./mach test-tidy --no-progress --all RUSTC_WRAPPER: sccache
- ./mach test-tidy --no-progress --self-test commands:
- ./mach build --dev - ./mach clean-nightlies --keep 3 --force
- ./mach test-unit - ./mach clean-cargo-cache --keep 3 --force
- ./mach package --dev - ./mach test-tidy --no-progress --all
- ./mach build-cef - ./mach test-tidy --no-progress --self-test
- ./mach build --dev --no-default-features --features default-except-unstable - ./mach build --dev
- ./mach build-geckolib - ./mach test-unit
- ./mach test-stylo - ./mach package --dev
- bash ./etc/ci/lockfile_changed.sh - ./mach build-cef
- bash ./etc/ci/manifest_changed.sh - ./mach build --dev --no-default-features --features default-except-unstable
- bash ./etc/ci/check_no_panic.sh - ./mach build-geckolib
- ./mach test-stylo
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh
- bash ./etc/ci/check_no_panic.sh
linux-rel-wpt: linux-rel-wpt:
- ./mach clean-nightlies --keep 3 --force env:
- ./mach clean-cargo-cache --keep 3 --force CCACHE: sccache
- ./mach build --release --with-debug-assertions RUSTC_WRAPPER: sccache
- ./mach test-wpt-failure commands:
- ./mach test-wpt --release --processes 24 --total-chunks 2 --this-chunk 1 --log-raw test-wpt.log --log-errorsummary wpt-errorsummary.log --always-succeed - ./mach clean-nightlies --keep 3 --force
- ./mach filter-intermittents wpt-errorsummary.log --log-intermittents intermittents.log --log-filteredsummary filtered-wpt-errorsummary.log --tracker-api default --reporter-api default - ./mach clean-cargo-cache --keep 3 --force
- ./mach test-wpt --release --binary-arg=--multiprocess --processes 24 --log-raw test-wpt-mp.log --log-errorsummary wpt-mp-errorsummary.log eventsource - ./mach build --release --with-debug-assertions
- ./mach test-wpt-failure
- ./mach test-wpt --release --processes 24 --total-chunks 2 --this-chunk 1 --log-raw test-wpt.log --log-errorsummary wpt-errorsummary.log --always-succeed
- ./mach filter-intermittents wpt-errorsummary.log --log-intermittents intermittents.log --log-filteredsummary filtered-wpt-errorsummary.log --tracker-api default --reporter-api default
- ./mach test-wpt --release --binary-arg=--multiprocess --processes 24 --log-raw test-wpt-mp.log --log-errorsummary wpt-mp-errorsummary.log eventsource
linux-rel-css: linux-rel-css:
- ./mach clean-nightlies --keep 3 --force env:
- ./mach clean-cargo-cache --keep 3 --force CCACHE: sccache
- ./mach build --release --with-debug-assertions RUSTC_WRAPPER: sccache
- ./mach test-wpt --release --processes 24 --total-chunks 2 --this-chunk 2 --log-raw test-wpt.log --log-errorsummary wpt-errorsummary.log --always-succeed commands:
- ./mach filter-intermittents wpt-errorsummary.log --log-intermittents intermittents.log --log-filteredsummary filtered-wpt-errorsummary.log --tracker-api default --reporter-api default - ./mach clean-nightlies --keep 3 --force
- ./mach build-geckolib --release - ./mach clean-cargo-cache --keep 3 --force
- ./mach test-stylo --release - ./mach build --release --with-debug-assertions
- bash ./etc/ci/lockfile_changed.sh - ./mach test-wpt --release --processes 24 --total-chunks 2 --this-chunk 2 --log-raw test-wpt.log --log-errorsummary wpt-errorsummary.log --always-succeed
- bash ./etc/ci/manifest_changed.sh - ./mach filter-intermittents wpt-errorsummary.log --log-intermittents intermittents.log --log-filteredsummary filtered-wpt-errorsummary.log --tracker-api default --reporter-api default
- ./mach build-geckolib --release
- ./mach test-stylo --release
- bash ./etc/ci/lockfile_changed.sh
- bash ./etc/ci/manifest_changed.sh
linux-nightly: linux-nightly:
- ./mach clean-nightlies --keep 3 --force - ./mach clean-nightlies --keep 3 --force