libc-rs/appveyor.yml

31 lines
975 B
YAML
Raw Normal View History

2015-09-11 07:01:52 +02:00
environment:
# When this was added there were revocation check failures when using the
# libcurl backend as libcurl checks by default, but rustup doesn't provide the
# switch to turn this off. Switch to Hyper which looks to not check for
# revocation by default like libcurl does.
RUSTUP_USE_HYPER: 1
2015-09-11 07:01:52 +02:00
matrix:
2015-09-13 07:24:01 +02:00
- TARGET: x86_64-pc-windows-gnu
MSYS2_BITS: 64
- TARGET: i686-pc-windows-gnu
MSYS2_BITS: 32
2015-09-11 07:01:52 +02:00
- TARGET: x86_64-pc-windows-msvc
- TARGET: i686-pc-windows-msvc
install:
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-host %TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
2015-09-11 07:01:52 +02:00
- rustc -V
- cargo -V
build: false
test_script:
2016-10-11 01:41:23 +02:00
- cargo test --target %TARGET%
- cargo run --manifest-path libc-test/Cargo.toml --target %TARGET%
cache:
- target
- C:\Users\appveyor\.cargo\registry