environment: matrix: - TARGET: x86_64-pc-windows-msvc - TARGET: i686-pc-windows-msvc # Temporarily disable MinGW builds due to https://github.com/rust-lang/rust/issues/47048. # Once that issue is fixed, presumably by https://github.com/rust-lang/rust/pull/51989, # we should reenable them. # - TARGET: x86_64-pc-windows-gnu # MSYS_BITS: 64 # - TARGET: i686-pc-windows-gnu # MSYS_BITS: 32 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=%PATH%;C:\Program Files (x86)\Rust\bin - if defined MSYS_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS_BITS%\bin - rustc -V - cargo -V build_script: - git submodule -q update --init - cargo build --target %TARGET% --all -v test_script: - SET RUST_BACKTRACE=1 - cargo test --target %TARGET% --all -v