2016-03-04 05:11:08 +03:00
|
|
|
version: 1.0.{build}
|
|
|
|
|
2016-03-23 17:07:59 +03:00
|
|
|
environment:
|
2017-01-06 20:05:34 +03:00
|
|
|
CCACHE_DIR: "%APPVEYOR_BUILD_FOLDER%\\.ccache"
|
2018-01-10 23:00:32 +03:00
|
|
|
CARGO_INCREMENTAL: 0
|
2016-08-17 21:22:52 +03:00
|
|
|
RUST_BACKTRACE: 1
|
2018-01-09 20:40:27 +03:00
|
|
|
RUSTFLAGS: -Dwarnings
|
2016-08-17 21:22:52 +03:00
|
|
|
# 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
|
2016-03-23 17:07:59 +03:00
|
|
|
|
2016-03-04 05:11:08 +03:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
|
|
|
|
cache:
|
2018-01-10 21:00:59 +03:00
|
|
|
- C:\Users\appveyor\.rustup -> rust-toolchain
|
|
|
|
- C:\Users\appveyor\.cargo -> rust-toolchain
|
2017-08-31 15:47:34 +03:00
|
|
|
- .servo -> rust-toolchain
|
2017-01-06 20:05:34 +03:00
|
|
|
- .ccache
|
2016-03-04 05:11:08 +03:00
|
|
|
|
2018-01-10 21:00:59 +03:00
|
|
|
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
|
|
|
|
|
2016-03-30 17:28:30 +03:00
|
|
|
# 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'))
|
|
|
|
|
2016-03-04 05:11:08 +03:00
|
|
|
build_script:
|
2018-01-18 17:09:59 +03:00
|
|
|
- mach clean-nightlies --keep 2 --force
|
2017-12-21 22:57:04 +03:00
|
|
|
- mach build -d -v
|
|
|
|
- mach test-unit
|
2016-03-04 05:11:08 +03:00
|
|
|
|
2016-03-23 17:07:59 +03:00
|
|
|
test: off
|