-
Notifications
You must be signed in to change notification settings - Fork 14
/
appveyor.yml
39 lines (31 loc) · 942 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
38
39
environment:
global:
RUST_VERSION: stable
matrix:
- TARGET: i686-pc-windows-gnu
MSYS_BITS: 32
- TARGET: x86_64-pc-windows-gnu
MSYS_BITS: 64
- TARGET: i686-pc-windows-msvc
- TARGET: x86_64-pc-windows-msvc
install:
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- if defined MSYS_BITS set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
- rustc -vV
- cargo -vV
# It's a library; we don't need to deploy anything.
deploy: off
# Don't build anything with MSBuild. We use cargo in the install section.
build: false
cache:
- C:\Users\appveyor\.cargo\registry
- target
branches:
only:
- master
# Build but don't test for now.
test_script:
- cargo build --verbose
# - cargo test