-
Notifications
You must be signed in to change notification settings - Fork 34
/
appveyor.yml
31 lines (26 loc) · 1.03 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
os: Visual Studio 2015
environment:
matrix:
- channel: stable
target: x86_64-pc-windows-msvc
- channel: nightly
target: x86_64-pc-windows-msvc
install:
- ps: |
$path = [Environment]::GetEnvironmentVariable("path", "machine")
$newPath = ($path.Split(';') | Where-Object { $_ -eq 'C:\ProgramData\chocolatey\bin' }) -join ';'
[Environment]::SetEnvironmentVariable("path", $newPath, "machine")
- cmd: appveyor-retry choco install gpg4win
- cmd: appveyor-retry choco install cmake
- cmd: appveyor-retry choco install make
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- refreshenv
- set PATH=%PATH%;C:\Program Files\CMake\bin;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
build: false
test_script:
- make test
on_failure:
- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))