diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..614e8a1 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,25 @@ +environment: + matrix: + - TARGET: x86_64-pc-windows-msvc +# - TARGET: i686-pc-windows-msvc +# - TARGET: i686-pc-windows-gnu +platform: + - x64 +install: + - ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" + - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" + - SET PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH% + - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin + - SET PATH=%PATH%;C:\MinGW\bin + - SET MSYSTEM=MINGW64 + - SET RUST_BACKTRACE=1 + - bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors" + - bash -lc "pacman --noconfirm -Sy" + - bash -lc "pacman -Sy --needed --noconfirm mingw-w64-x86_64-expat mingw-w64-x86_64-freetype make" + - rustc -V + - cargo -V + +build: false + +test_script: + - cargo test --verbose