2016-08-08 14:58:16 +08:00
|
|
|
environment:
|
2016-08-08 14:59:37 +08:00
|
|
|
matrix:
|
|
|
|
- TARGET: i686-pc-windows-msvc
|
|
|
|
- TARGET: x86_64-pc-windows-msvc
|
2016-08-08 14:58:16 +08:00
|
|
|
|
|
|
|
install:
|
2016-09-27 13:22:10 +08:00
|
|
|
- git submodule update --init
|
2017-06-23 05:00:31 +08:00
|
|
|
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
2017-04-12 03:28:31 +08:00
|
|
|
- rustup-init.exe --default-host x86_64-pc-windows-msvc --default-toolchain nightly -y
|
2016-08-28 00:37:35 +08:00
|
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
2017-04-12 03:53:19 +08:00
|
|
|
- if "%TARGET%"=="i686-pc-windows-msvc" ( rustup target add %TARGET% )
|
2016-08-08 14:58:16 +08:00
|
|
|
- rustc -Vv
|
|
|
|
- cargo -V
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
2017-06-23 22:36:08 +08:00
|
|
|
- cargo build --target %TARGET%
|
|
|
|
- cargo build --target %TARGET% --features c --example intrinsics
|
|
|
|
- cargo build --release --target %TARGET%
|
|
|
|
- cargo build --release --target %TARGET% --features c --example intrinsics
|
2017-04-11 09:10:45 +08:00
|
|
|
- cargo test --no-default-features --features gen-tests --target %TARGET%
|
2017-06-23 05:00:31 +08:00
|
|
|
- cargo test --no-default-features --features "gen-tests c" --target %TARGET%
|
2017-04-11 09:10:45 +08:00
|
|
|
- cargo test --no-default-features --features gen-tests --release --target %TARGET%
|
2017-06-23 05:00:31 +08:00
|
|
|
- cargo test --no-default-features --features "gen-tests c" --release --target %TARGET%
|