5 RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
6 RUST_CHECK_TARGET: check
8 RUST_CONFIGURE_ARGS: --build=i686-pc-windows-msvc
9 RUST_CHECK_TARGET: check
13 RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc --disable-rustbuild
14 RUST_CHECK_TARGET: check
19 RUST_CHECK_TARGET: check-cargotest
20 RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-msvc
22 # 32/64-bit MinGW builds.
24 # The MinGW builds unfortunately have to both download a custom toolchain and
25 # avoid the one installed by AppVeyor by default. Interestingly, though, for
28 # For 32-bit the installed gcc toolchain on AppVeyor uses the pthread
29 # threading model. This is unfortunately not what we want, and if we compile
30 # with it then there's lots of link errors in the standard library (undefined
31 # references to pthread symbols).
33 # For 64-bit the installed gcc toolchain is currently 5.3.0 which
34 # unfortunately segfaults on Windows with --enable-llvm-assertions (segfaults
35 # in LLVM). See rust-lang/rust#28445 for more information, but to work around
36 # this we go back in time to 4.9.2 specifically.
38 # Finally, note that the downloads below are all in the `rust-lang-ci` S3
39 # bucket, but they cleraly didn't originate there! The downloads originally
40 # came from the mingw-w64 SourceForge download site. Unfortunately
41 # SourceForge is notoriously flaky, so we mirror it on our own infrastructure.
43 # And as a final point of note, the 32-bit MinGW build using the makefiles do
44 # *not* use debug assertions and llvm assertions. This is because they take
45 # too long on appveyor and this is tested by rustbuild below.
47 RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu
48 RUST_CHECK_TARGET: check
49 MINGW_URL: https://s3.amazonaws.com/rust-lang-ci
50 MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
54 RUST_CONFIGURE_ARGS: --build=i686-pc-windows-gnu --disable-rustbuild
55 RUST_CHECK_TARGET: check
56 MINGW_URL: https://s3.amazonaws.com/rust-lang-ci
57 MINGW_ARCHIVE: i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
61 RUST_CHECK_TARGET: check
62 RUST_CONFIGURE_ARGS: --build=x86_64-pc-windows-gnu
63 MINGW_URL: https://s3.amazonaws.com/rust-lang-ci
64 MINGW_ARCHIVE: x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
71 # If we need to download a custom MinGW, do so here and set the path
74 # Note that this *also* means that we're not using what is typically
75 # /mingw32/bin/python2.7.exe, which is a "correct" python interpreter where
76 # /usr/bin/python2.7.exe is not. To ensure we use the right interpreter we
77 # move `C:\Python27` ahead in PATH and then also make sure the `python2.7.exe`
78 # file exists in there (which it doesn't by default).
79 - if defined MINGW_URL appveyor DownloadFile %MINGW_URL%/%MINGW_ARCHIVE%
80 - if defined MINGW_URL 7z x -y %MINGW_ARCHIVE% > nul
81 - if defined MINGW_URL set PATH=C:\Python27;%CD%\%MINGW_DIR%\bin;C:\msys64\usr\bin;%PATH%
82 - if defined MINGW_URL copy C:\Python27\python.exe C:\Python27\python2.7.exe
84 # Otherwise pull in the MinGW installed on appveyor
85 - if NOT defined MINGW_URL set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%
88 - git submodule update --init
94 - "build/i686-pc-windows-gnu/llvm -> src/rustllvm/llvm-auto-clean-trigger"
95 - "build/x86_64-pc-windows-gnu/llvm -> src/rustllvm/llvm-auto-clean-trigger"
96 - "build/i686-pc-windows-msvc/llvm -> src/rustllvm/llvm-auto-clean-trigger"
97 - "build/x86_64-pc-windows-msvc/llvm -> src/rustllvm/llvm-auto-clean-trigger"
98 - "i686-pc-windows-gnu/llvm -> src/rustllvm/llvm-auto-clean-trigger"
99 - "x86_64-pc-windows-gnu/llvm -> src/rustllvm/llvm-auto-clean-trigger"
100 - "i686-pc-windows-msvc/llvm -> src/rustllvm/llvm-auto-clean-trigger"
101 - "x86_64-pc-windows-msvc/llvm -> src/rustllvm/llvm-auto-clean-trigger"
108 # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
110 # - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))