forked from amethyst/amethyst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
37 lines (31 loc) · 917 Bytes
/
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
# 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
matrix:
allow_failures:
- channel: nightly
# Set up the Rust toolchain.
install:
- 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
# 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
# Compile the engine and run all tests.
test_script:
- cargo test --all -v
branches:
only:
- develop