-
Notifications
You must be signed in to change notification settings - Fork 9
/
.appveyor.yml
35 lines (31 loc) · 1.02 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
# Set up the Rust toolchain.
environment:
matrix:
- channel: stable
target: x86_64-pc-windows-msvc
- channel: nightly
target: x86_64-pc-windows-msvc
install:
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
- curl -fsS "https://win.rustup.rs/" -o rustup-init.exe
- rustup-init.exe -y --default-toolchain %channel%-%target%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -V
- cargo -V
# Allow for occasional compiler breakage on nightly Rust.
matrix:
fast_finish: true
allow_failures:
- channel: nightly
# Force third-party crates to persist from previous builds and update only when
# needed.
cache:
- .cargo -> rust-%channel%-date, cargo-%channel%-build
# Since this is not a .NET project, we can flip the build system off.
build: false
# Generate documentation, compile the engine, run tests.
test_script:
- cargo build --all --verbose
- cargo test --all --verbose
- cargo build --all --verbose --no-default-features
- cargo test --all --verbose --no-default-features