-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy path.appveyor.yml
79 lines (71 loc) · 2.07 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
---
image:
- Visual Studio 2017
- Visual Studio 2019
build: false
version: '{build}'
platform: x64
notifications:
- provider: Email
to:
- jesse.tov@gmail.com
on_build_success: false
on_build_failure: true
on_build_status_changed: false
environment:
matrix:
- target: x86_64-pc-windows-msvc
channel: 1.32.0
- target: x86_64-pc-windows-gnu
channel: 1.32.0
- target: x86_64-pc-windows-msvc
channel: stable
- target: x86_64-pc-windows-gnu
channel: stable
- target: x86_64-pc-windows-msvc
channel: beta
- target: x86_64-pc-windows-gnu
channel: beta
- target: x86_64-pc-windows-msvc
channel: nightly
- target: x86_64-pc-windows-gnu
channel: nightly
matrix:
allow_failures:
- target: x86_64-pc-windows-msvc
channel: nightly
- target: x86_64-pc-windows-gnu
channel: nightly
# This one shouldn't fail, but I don't know why it's failing yet:
- target: x86_64-pc-windows-gnu
channel: beta
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe --default-host %target% --default-toolchain %channel% -y
- set PATH=C:\Users\appveyor\.cargo\bin;%PATH%
- rustc -Vv
- cargo -V
- cd %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive
test_script:
- cargo build --verbose
- cargo test
for:
- matrix:
only:
- target: x86_64-pc-windows-gnu
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe --default-host %target% --default-toolchain %channel% -y
- set PATH=C:\msys64\usr\bin;C:\Users\appveyor\.cargo\bin;%PATH%
- bash -lc "pacman --noconfirm -S automake autoconf mingw-w64-x86_64-clang libtool"
- rustc -Vv
- cargo -V
- cd %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive
test_script:
- env MSYSTEM=MINGW64 bash -lc 'cd $APPVEYOR_BUILD_FOLDER; cargo build --verbose'
- env MSYSTEM=MINGW64 bash -lc 'cd $APPVEYOR_BUILD_FOLDER; cargo test'
cache:
- C:\Users\appveyor\.cargo
- compiler\vendor