1 # This is based on https://github.com/japaric/rust-everywhere/blob/master/appveyor.yml
\r
2 # and modified (mainly removal of deployment) to suit rustfmt.
\r
6 PROJECT_NAME: rustfmt
\r
9 # - TARGET: i686-pc-windows-gnu
\r
11 # - TARGET: i686-pc-windows-msvc
\r
13 # - TARGET: x86_64-pc-windows-gnu
\r
15 # - TARGET: x86_64-pc-windows-msvc
\r
18 # - TARGET: i686-pc-windows-gnu
\r
20 # - TARGET: i686-pc-windows-msvc
\r
22 # - TARGET: x86_64-pc-windows-gnu
\r
24 # - TARGET: x86_64-pc-windows-msvc
\r
27 - TARGET: i686-pc-windows-gnu
\r
29 - TARGET: i686-pc-windows-msvc
\r
31 - TARGET: x86_64-pc-windows-gnu
\r
33 - TARGET: x86_64-pc-windows-msvc
\r
36 # Install Rust and Cargo
\r
37 # (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml)
\r
39 - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
\r
40 - if "%TARGET%" == "i686-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw32\bin
\r
41 - if "%TARGET%" == "x86_64-pc-windows-gnu" set PATH=%PATH%;C:\msys64\mingw64\bin
\r
42 - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
\r
43 - rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y
\r
51 - cargo build --verbose
\r