forked from mozilla/lmdb-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
40 lines (37 loc) · 1.01 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
environment:
matrix:
- TARGET: x86_64-pc-windows-msvc
TOOLCHAIN: stable
- TARGET: i686-pc-windows-msvc
TOOLCHAIN: stable
- TARGET: x86_64-pc-windows-msvc
TOOLCHAIN: beta
- TARGET: i686-pc-windows-msvc
TOOLCHAIN: beta
- TARGET: x86_64-pc-windows-msvc
TOOLCHAIN: nightly
- TARGET: i686-pc-windows-msvc
TOOLCHAIN: nightly
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %TOOLCHAIN%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- choco install make -y
- choco install mingw -y
- refreshenv
- rustc -Vv
- cargo -Vv
- make -v
- gcc -v
build_script:
- git submodule -q update --init
test_script:
- SET RUST_BACKTRACE=1
- cargo test --target %TARGET% --all --verbose
- cargo test --release --target %TARGET% --all --verbose
- if [%TOOLCHAIN%]==[nightly] (
cargo bench --target %TARGET% --all --verbose
)
cache:
- C:\Users\appveyor\.cargo\registry
- target