-
Notifications
You must be signed in to change notification settings - Fork 2
/
.appveyor.yml
46 lines (40 loc) · 1.15 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
# Set up the build environment.
environment:
matrix:
- channel: stable
target: x86_64-pc-windows-msvc
- channel: beta
target: x86_64-pc-windows-msvc
- channel: nightly
target: x86_64-pc-windows-msvc
# Allow for occasional compiler breakage on nightly Rust.
matrix:
fast_finish: true
allow_failures:
- channel: nightly
# Set up the Rust toolchain.
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
# Build the Bors staging and trying branches, plus PRs to develop, master, and
# the latest release branch.
branches:
only:
- staging
- trying
- develop
- master
- /release-.*/
# 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 test --all -v