2017-04-20 14:00:37 +00:00
|
|
|
install:
|
|
|
|
- ps: Start-FileDownload "https://static.rust-lang.org/dist/channel-rust-stable"
|
2017-04-20 14:03:25 +00:00
|
|
|
- ps: $env:RUST_VERSION = Get-Content channel-rust-stable | select -first 1 | %{$_.split('-')[1]}
|
2017-04-20 14:00:37 +00:00
|
|
|
- if NOT "%RUST%" == "nightly" set RUST_VERSION=%RUST%
|
|
|
|
- SET RUST_URL=https://static.rust-lang.org/dist/rust-%RUST_VERSION%-%ARCH%-pc-windows-gnu.exe
|
|
|
|
- SET PATH=C:\Rust\bin;C:\msys64\mingw%BITS%\bin;%PATH%;C:\msys64\usr\bin
|
2017-04-20 14:12:27 +00:00
|
|
|
- ps: Start-FileDownload %RUST_URL% -FileName rust-dist.exe
|
2017-04-20 14:00:37 +00:00
|
|
|
- rust-dist.exe /VERYSILENT /NORESTART /COMPONENTS="Rustc,Gcc,Cargo,Std" /DIR="C:\Rust"
|
|
|
|
- rustc -V
|
|
|
|
- cargo -V
|
|
|
|
- pacman --noconfirm -S mingw-w64-%ARCH%-gtk3
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- cargo test
|
|
|
|
|
|
|
|
test: false
|