os: Visual Studio 2015
environment:
global:
PROJECT_NAME: ggez
RUSTUP_INIT_SKIP_MSVC_CHECK: 1
matrix:
- TARGET: x86_64-pc-windows-msvc
CHANNEL: stable
- TARGET: x86_64-pc-windows-msvc
CHANNEL: beta
- TARGET: x86_64-pc-windows-msvc
CHANNEL: nightly
- TARGET: x86_64-pc-windows-msvc
CHANNEL: 1.23.0
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
- rustc -Vv
- cargo -V
before_test:
- cd %TEMP%
- appveyor DownloadFile https://www.libsdl.org/release/SDL2-devel-2.0.5-VC.zip
- 7z x SDL2-devel-2.0.5-VC.zip > nul
- xcopy SDL2-2.0.5\lib\x64\* %APPVEYOR_BUILD_FOLDER% > nul
- cd %APPVEYOR_BUILD_FOLDER%
test_script:
- cargo build --verbose
- cargo test --verbose
build: false