forked from retep998/winapi-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
45 lines (41 loc) · 1.36 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
image: Visual Studio 2017
environment:
matrix:
- host: x86_64-pc-windows-msvc
targets: aarch64-pc-windows-msvc
channel: nightly
- host: i686-pc-windows-msvc
channel: nightly
- host: x86_64-pc-windows-gnu
channel: nightly
- host: i686-pc-windows-gnu
channel: nightly
- host: x86_64-pc-windows-gnu
channel: 1.6.0
matrix:
allow_failures:
- target: aarch64-pc-windows-msvc
install:
- ps: if (ls -r . -fi "*.rs" | sls "`t") { throw "Found tab character" }
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-toolchain %channel% --default-host %host%
- ps: $env:CARGO_INCREMENTAL = 0
- ps: $env:PATH = "$env:PATH;${env:USERPROFILE}\.cargo\bin"
- ps: >
if ($env:targets) { $env:targets -split " " | %{
rustup target add $_ 2>&1|%{"$_"}
}}
- rustc -vV
- cargo -vV
build_script:
- cargo build
- cargo build --features "everything impl-debug impl-default"
- cargo build --release --features "everything impl-debug impl-default"
- cargo test --features "everything impl-debug impl-default"
- ps: >
if ($env:targets) { $env:targets -split " " | %{
cargo test --target=$_ --features "everything impl-debug impl-default" --no-run 2>&1|%{"$_"}
}}
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/d3d6703d143c888f0a8a