forked from rust-bitcoin/rust-bitcoinconsensus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (36 loc) · 1.13 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
47
os: Visual Studio 2015
## Build Matrix ##
environment:
matrix:
- channel: 1.29.0
target: x86_64-pc-windows-msvc
- channel: 1.29.0
target: i686-pc-windows-msvc
- channel: stable
target: x86_64-pc-windows-msvc
- channel: stable
target: i686-pc-windows-msvc
- channel: beta
target: x86_64-pc-windows-msvc
- channel: beta
target: i686-pc-windows-msvc
- channel: nightly
target: x86_64-pc-windows-msvc
- channel: nightly
target: i686-pc-windows-msvc
matrix:
allow_failures:
- channel: nightly
install:
- git submodule update --init --recursive
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %CHANNEL%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -Vv
- cargo -V
## Build Script ##
# 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents
# the "directory does not contain a project or solution file" error.
build: false
test_script:
- cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose && cargo test