mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
118c6485b6
… this time using a `rust-toolchain` file compatible with rustup: https://github.com/rust-lang-nursery/rustup.rs/#the-toolchain-file And upgrade to rustc 1.21.0-nightly (c11f689d2 2017-08-29) ---- Now if both `system-rust` and `system-cargo` are set to `true` in `.servobuild`’s `[tools]` section, and the corresponding `rustc` and `cargo` binaries are in fact rustup’s wrappers, then rustup will use the correct version based on `rust-toolchain`. CC https://github.com/servo/servo/issues/11361 Unlike https://github.com/servo/servo/pull/17927, this does not make mach use rustup directly. That should wait until https://github.com/rust-lang-nursery/rustup.rs/issues/1099 is fixed. Source-Repo: https://github.com/servo/servo Source-Revision: c4800a6c83e6fdabaf7c4eff70a24487d16f18ff --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : e3d41159bc4670ea990630e5342fe9b663a79fe5
54 lines
1.8 KiB
YAML
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-toolchain
|
|
- .cargo -> rust-toolchain
|
|
- .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
|