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:
|
|
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
|
|
- TARGET: i686-pc-windows-msvc
|
2018-05-02 15:29:58 +00:00
|
|
|
- TARGET: i586-pc-windows-msvc
|
2018-05-02 15:28:25 +00:00
|
|
|
- TARGET: x86_64-pc-windows-gnu
|
2018-05-02 15:40:53 +00:00
|
|
|
- TARGET: i686-pc-windows-gnu
|
2018-05-02 15:28:25 +00:00
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: >-
|
|
|
|
If ($Env:TARGET -eq 'x86_64-pc-windows-gnu') {
|
|
|
|
$Env:PATH += ';C:\msys64\mingw64\bin'
|
|
|
|
} ElseIf ($Env:TARGET -eq 'i686-pc-windows-gnu') {
|
|
|
|
$Env:PATH += ';C:\msys64\mingw32\bin'
|
|
|
|
}
|
|
|
|
- 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
|
|
|
|
|
|
|
|
test_script:
|
2018-05-02 15:40:53 +00:00
|
|
|
- sh ci\run.sh
|
2018-05-02 15:28:25 +00:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|