2018-05-02 15:28:25 +00:00
|
|
|
environment:
|
|
|
|
# We don't want to do identical comdat folding as it messes up the ability to
|
|
|
|
# generate lossless backtraces in some cases. This is enabled by rustc by
|
|
|
|
# default so pass a flag to disable it to ensure our tests work ok.
|
|
|
|
RUSTFLAGS: -Clink-args=/OPT:NOICF
|
|
|
|
|
|
|
|
matrix:
|
2018-05-04 14:50:10 +00:00
|
|
|
- TARGET: x86_64-pc-windows-gnu
|
2018-11-10 19:04:49 +00:00
|
|
|
MSYSTEM: MINGW64
|
|
|
|
CPU: x86_64
|
2018-05-04 14:50:10 +00:00
|
|
|
- TARGET: i686-pc-windows-gnu
|
2018-11-10 19:04:49 +00:00
|
|
|
MSYSTEM: MINGW32
|
|
|
|
CPU: i686
|
2018-05-04 14:59:37 +00:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- TARGET: x86_64-pc-windows-gnu
|
|
|
|
- TARGET: i686-pc-windows-gnu
|
2018-05-02 15:28:25 +00:00
|
|
|
|
|
|
|
install:
|
2018-11-18 11:28:19 +00:00
|
|
|
- git submodule update --init --recursive
|
2018-11-10 19:04:49 +00:00
|
|
|
- set PATH=c:\msys64\%MSYSTEM%\bin;c:\msys64\usr\bin;%PATH%
|
|
|
|
- pacman --noconfirm -Syu mingw-w64-%CPU%-make
|
2018-05-02 15:28:25 +00:00
|
|
|
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
|
|
|
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
|
|
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
|
|
|
- rustc -vV
|
|
|
|
- cargo -vV
|
|
|
|
build: false
|
2018-11-18 11:28:19 +00:00
|
|
|
test_script: sh ci\run.sh
|
2018-05-02 15:28:25 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|