mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
864be907a6
<!-- Please describe your changes on the following line: --> auto clean cache in build bot once this merged, servo/saltfs#321 should be closed --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #19712 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> Source-Repo: https://github.com/servo/servo Source-Revision: d11886e9a12c2ef7262e34de3de7595005a66080 --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 7f60a4311d90d6dfc950da5f6bda80d671a23d45
69 lines
2.3 KiB
YAML
69 lines
2.3 KiB
YAML
version: 1.0.{build}
|
|
|
|
environment:
|
|
CCACHE_DIR: "%APPVEYOR_BUILD_FOLDER%\\.ccache"
|
|
CARGO_INCREMENTAL: 0
|
|
RUST_BACKTRACE: 1
|
|
RUSTFLAGS: -Dwarnings
|
|
# The appveyor image we use has a pretty huge set of things installed... we make the
|
|
# initial PATH something sane so we know what to expect
|
|
PATH: "C:\\windows\\system32;\
|
|
C:\\windows;\
|
|
C:\\windows\\System32\\Wbem;\
|
|
C:\\windows\\System32\\WindowsPowerShell\\v1.0;\
|
|
C:\\ProgramData\\chocolatey\\bin;\
|
|
C:\\Python27;\
|
|
C:\\Python27\\Scripts;\
|
|
C:\\Tools\\PsTools;\
|
|
C:\\Tools\\NuGet3;\
|
|
C:\\Program Files\\Microsoft\\Web Platform Installer\\;\
|
|
C:\\Program Files\\7-Zip;\
|
|
C:\\Program Files\\Mercurial;\
|
|
C:\\Program Files (x86)\\Subversion\\bin;\
|
|
C:\\Program Files (x86)\\CMake\\bin;\
|
|
C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;\
|
|
C:\\Program Files (x86)\\MSBuild\\14.0\\Bin;\
|
|
C:\\Program Files\\Amazon\\AWSCLI\\;\
|
|
C:\\Program Files\\Microsoft Windows Performance Toolkit\\;\
|
|
C:\\Program Files\\LLVM\\bin;\
|
|
C:\\Program Files\\Git LFS;\
|
|
C:\\Program Files\\Git\\cmd;\
|
|
C:\\Program Files\\Git\\usr\\bin;\
|
|
C:\\Program Files\\AppVeyor\\BuildAgent;"
|
|
matrix:
|
|
- TARGET: nightly-x86_64-pc-windows-msvc
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
cache:
|
|
- C:\Users\appveyor\.rustup -> rust-toolchain
|
|
- C:\Users\appveyor\.cargo -> rust-toolchain
|
|
- .servo -> rust-toolchain
|
|
- .ccache
|
|
|
|
install:
|
|
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
|
- rustup-init.exe -y --default-host x86_64-pc-windows-msvc --default-toolchain none
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
|
- rustup -V
|
|
- mach rustc --version
|
|
- mach cargo --version
|
|
|
|
# Uncomment these lines to expose RDP access information to the build machine in the build log.
|
|
#init:
|
|
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
#
|
|
#on_finish:
|
|
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
|
|
|
|
build_script:
|
|
- set CARGO_HOME=C:\Users\appveyor\.cargo
|
|
- mach clean-nightlies --keep 2 --force
|
|
- mach clean-cargo-cache --keep 2 --force
|
|
- mach build -d -v
|
|
- mach test-unit
|
|
|
|
test: off
|