-
-
Notifications
You must be signed in to change notification settings - Fork 393
/
appveyor.yml
42 lines (38 loc) · 1.3 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
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
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 " " | %{
cmd /c "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 " " | %{
cmd /c "cargo test --target=$_ --features `"everything impl-debug impl-default`" --no-run 2>&1"
}}
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/d3d6703d143c888f0a8a