environment:
matrix:
- TARGET: x86_64-pc-windows-gnu
CHANNEL: nightly
- TARGET: x86_64-pc-windows-msvc
CHANNEL: nightly
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs
- rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin;C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin
- if %CHANNEL%==nightly (rustup component add rustc-dev) else (true)
- gcc --version
- rustc -Vv
- cargo -V
build: false
test_script:
- if %CHANNEL%==nightly (cargo build --features rustc) else (cargo build)
- cd test-project && if %CHANNEL%==nightly (cargo test --features rustc) else (cargo test)
branches:
only:
- master