forked from jeikabu/nng-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
47 lines (41 loc) · 1.14 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Based off https://github.com/starkat99/appveyor-rust
image:
- Visual Studio 2017
environment:
matrix:
# Stable 64-bit MSVC
- target: x86_64-pc-windows-msvc
channel: stable
platform: x64
# Stable 32-bit MSVC
- target: i686-pc-windows-msvc
channel: stable
platform: x86
# Visual Studio developer environment for x86/x64
# https://www.appveyor.com/docs/lang/cpp/#visual-studio
for:
-
matrix:
only:
- platform: x86
init:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
-
matrix:
only:
- platform: x64
init:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
install:
# Download rustup and install rust
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
# Checkout submodules
- git submodule update --init --recursive
# Skip build step since `cargo test` does it
build: false
test_script:
- ps: build.ps1