forked from swindon-rs/swindon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
51 lines (40 loc) · 1.04 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
48
49
50
51
os: Visual Studio 2015
artifacts:
- path: target\debug\swindon.exe
name: debug-binary
- path: target\debug\swindon-dev.exe
name: debug-binary
environment:
matrix:
### MSVC Toolchains ###
# Stable 64-bit MSVC
- channel: stable
target: x86_64-pc-windows-msvc
# Beta 64-bit MSVC
- channel: beta
target: x86_64-pc-windows-msvc
# Nightly 64-bit MSVC
- channel: nightly
target: x86_64-pc-windows-msvc
### GNU Toolchains ###
# Stable 64-bit GNU
- channel: stable
target: x86_64-pc-windows-gnu
MSYS_BITS: 64
### Allowed failures ###
#
matrix:
allow_failures:
- channel: nightly
## Install Script ##
install:
- 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
- if defined MSYS_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS_BITS%\bin
- rustc -vV
- cargo -vV
build_script:
- cargo build %cargoflags%
test_script:
- cargo test --verbose %cargoflags%