-
-
Notifications
You must be signed in to change notification settings - Fork 42
/
appveyor.yml
43 lines (36 loc) · 1.23 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
os: Visual Studio 2015
environment:
global:
CHANNEL: stable
CRATE_NAME: spirv_cross
matrix:
- TARGET: x86_64-pc-windows-gnu
- TARGET: x86_64-pc-windows-msvc
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
- set PATH=%PATH%;C:\msys64\mingw64\bin;C:\Users\appveyor\.cargo\bin
- if "%TARGET%" == "x86_64-pc-windows-gnu" ( rustup component remove rust-mingw )
- if "%TARGET%" == "x86_64-pc-windows-gnu" ( for %%I in (crt2.o dllcrt2.o libmingwex.a libmsvcrt.a) do xcopy /Y "C:\msys64\mingw64\x86_64-w64-mingw32\lib\%%I" "C:\Users\appveyor\.rustup\toolchains\stable-%TARGET%\lib\rustlib\%TARGET%\lib\" )
- rustc -Vv
- cargo -V
- git submodule update --init --recursive
build_script:
- cargo build --verbose --all --target %TARGET% --all-features
test_script:
- cargo test --verbose --all --target %TARGET% --all-features
branches:
only:
- staging
- trying
- master
except:
- staging.tmp
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/8748eda7974203c7a542
on_build_success: false
on_build_failure: true
on_build_status_changed: true
cache:
- C:\Users\appveyor\.cargo