gecko-dev/servo/appveyor.yml
Simon Sapin 1d9a118a36 servo: Merge #17780 - Update to cargo 0.21.0-nightly (eb6cf012a 2017-07-02) (from servo:cargoup); r=nox,SimonSapin
Cargo binaries are now produced on Rust’s CI, not Cargo’s. Remove cargo-commit-hash and find Cargo based on rust-commit-hash.

Unfortunately, Cargo binaries are not available for every Cargo PR anymore: https://github.com/rust-lang/cargo/pull/4123#issuecomment-316201869

Source-Repo: https://github.com/servo/servo
Source-Revision: d403f404382c66485d9744787ce021556be59d6c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5adb79e9d2a0446949f4ca8211496d96b41e648f
2017-07-18 15:57:07 -07:00

54 lines
1.8 KiB
YAML

version: 1.0.{build}
environment:
CCACHE_DIR: "%APPVEYOR_BUILD_FOLDER%\\.ccache"
RUST_BACKTRACE: 1
# 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:
- .servo -> rust-commit-hash
- .cargo -> rust-commit-hash
- .ccache
# 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:
- mach build -d -v && mach test-unit
test: off