-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
33 lines (29 loc) · 1006 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
# Set up the build environment.
environment:
matrix:
- channel: nightly
target: x86_64-pc-windows-msvc
# 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
- del /f rasen\benches\data
- mklink /J rasen\benches\data rasen\tests\data
- del /f rasen-dsl\tests\data
- mklink /J rasen-dsl\tests\data rasen\tests\data
- del /f rasen-dsl\benches\data
- mklink /J rasen-dsl\benches\data rasen\tests\data
- 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
# Run tests and benchmarks.
test_script:
- cargo test
- cargo bench