-
Notifications
You must be signed in to change notification settings - Fork 38
/
appveyor.yml
20 lines (20 loc) · 948 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
environment:
PATH: '%PATH%;C:\Rust\bin'
matrix:
- RUST_CHANNEL: beta
- RUST_CHANNEL: nightly
install:
- ps: Start-FileDownload "https://github.com/PistonDevelopers/binaries/raw/master/x86_64/freetype.dll"
- ps: Start-FileDownload "https://github.com/PistonDevelopers/binaries/raw/master/x86_64/freetype.lib"
- mkdir C:\\freetype-x86_64-lib
- move freetype.dll C:\\freetype-x86_64-lib
- move freetype.lib C:\\freetype-x86_64-lib
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_CHANNEL}-x86_64-pc-windows-msvc.msi"
- msiexec /passive /i "rust-%RUST_CHANNEL%-x86_64-pc-windows-msvc.msi" ADDLOCAL=Rustc,Cargo,Std INSTALLDIR=C:\Rust
- mkdir .cargo
- echo [target.x86_64-pc-windows-msvc.freetype] >> .cargo\\config
- echo rustc-link-search = ["C:\\freetype-x86_64-lib"] >> .cargo\\config
- echo rustc-link-lib = ["freetype"] >> .cargo\\config
- type .cargo\\config
build_script:
- cargo test