]> git.proxmox.com Git - rustc.git/blame - src/vendor/lazy_static/appveyor.yml
New upstream version 1.29.0+dfsg1
[rustc.git] / src / vendor / lazy_static / appveyor.yml
CommitLineData
abe05a73
XL
1environment:
2 global:
3 PROJECT_NAME: lazy_static
4 # When this was added there were revocation check failures when using the
5 # libcurl backend as libcurl checks by default, but rustup doesn't provide the
6 # switch to turn this off. Switch to Hyper which looks to not check for
7 # revocation by default like libcurl does.
8 RUSTUP_USE_REQWEST: 1
9 CARGO_HTTP_CHECK_REVOKE: false
10 matrix:
11 # Stable channel
12 - TARGET: i686-pc-windows-gnu
13 CHANNEL: stable
14 - TARGET: i686-pc-windows-msvc
15 CHANNEL: stable
16 - TARGET: x86_64-pc-windows-gnu
17 CHANNEL: stable
18 - TARGET: x86_64-pc-windows-msvc
19 CHANNEL: stable
20 # Beta channel
21 - TARGET: i686-pc-windows-gnu
22 CHANNEL: beta
23 - TARGET: i686-pc-windows-msvc
24 CHANNEL: beta
25 - TARGET: x86_64-pc-windows-gnu
26 CHANNEL: beta
27 - TARGET: x86_64-pc-windows-msvc
28 CHANNEL: beta
29 # Nightly channel
30 - TARGET: i686-pc-windows-gnu
31 CHANNEL: nightly
32 - TARGET: i686-pc-windows-msvc
33 CHANNEL: nightly
34 - TARGET: x86_64-pc-windows-gnu
35 CHANNEL: nightly
36 - TARGET: x86_64-pc-windows-msvc
37 CHANNEL: nightly
38
39# Install Rust and Cargo
40# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
41install:
42 - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
43 - rustup-init.exe -y --default-toolchain %CHANNEL% --default-host %TARGET%
44 - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
45 - if "%TARGET%" == "i686-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw32\bin
46 - if "%TARGET%" == "x86_64-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw64\bin
47 - rustc -V
48 - cargo -V
49
50build: false
51
52test_script:
53 - cargo build --verbose
54 - cargo test
55 - if [%CHANNEL%]==[nightly] (
8faf50e0 56 cd compiletest &&
abe05a73 57 cargo clean &&
8faf50e0
XL
58 cargo build --verbose &&
59 cargo test &&
60 cd ../
abe05a73 61 )