@@ -5,17 +5,15 @@ environment:
55 secure : 1UkmbiDd15tWtYbMm5O2Uqm0b0Ur8v1MoSlydxl4ojcroPeerRMlUges0l57py8c
66 SCCACHE_DIGEST : f808afabb4a4eb1d7112bcb3fa6be03b61e93412890c88e177c667eb37f46353d7ec294e559b16f9f4b5e894f2185fe7670a0df15fd064889ecbd80f0c34166c
77 matrix :
8- # 32/64 bit MSVC
8+ # 32/64 bit MSVC tests
99 - MSYS_BITS : 64
10- RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc --enable-extended
11- SCRIPT : python x.py test && python x.py dist
12- DEPLOY : 1
10+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc
11+ SCRIPT : python x.py test
1312 - MSYS_BITS : 32
14- RUST_CONFIGURE_ARGS : --build=i686-pc-windows-msvc --target=i586-pc-windows-msvc --enable-extended
15- SCRIPT : python x.py test --host i686-pc-windows-msvc --target i686-pc-windows-msvc && python x.py dist
16- DEPLOY : 1
13+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-msvc --target=i586-pc-windows-msvc
14+ SCRIPT : python x.py test --host i686-pc-windows-msvc --target i686-pc-windows-msvc
1715
18- # MSVC cargotest
16+ # MSVC aux tests
1917 - MSYS_BITS : 64
2018 RUST_CHECK_TARGET : check-aux
2119 RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc
@@ -44,16 +42,40 @@ environment:
4442 # And as a final point of note, the 32-bit MinGW build using the makefiles do
4543 # *not* use debug assertions and llvm assertions. This is because they take
4644 # too long on appveyor and this is tested by rustbuild below.
45+ - MSYS_BITS : 32
46+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu
47+ SCRIPT : python x.py test
48+ MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
49+ MINGW_ARCHIVE : i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
50+ MINGW_DIR : mingw32
51+ - MSYS_BITS : 64
52+ SCRIPT : python x.py test
53+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu
54+ MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
55+ MINGW_ARCHIVE : x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
56+ MINGW_DIR : mingw64
57+
58+ # 32/64 bit MSVC and GNU deployment
59+ - RUST_CONFIGURE_ARGS : >
60+ --build=x86_64-pc-windows-msvc
61+ --enable-extended
62+ SCRIPT: python x.py dist
63+ DEPLOY: 1
64+ - RUST_CONFIGURE_ARGS : >
65+ --build=i686-pc-windows-msvc
66+ --target=i586-pc-windows-msvc
67+ --enable-extended
68+ SCRIPT: python x.py dist
69+ DEPLOY: 1
4770 - MSYS_BITS : 32
4871 RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-extended
49- SCRIPT : python x.py test && python x.py dist
72+ SCRIPT : python x.py dist
5073 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
5174 MINGW_ARCHIVE : i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
5275 MINGW_DIR : mingw32
5376 DEPLOY : 1
54-
5577 - MSYS_BITS : 64
56- SCRIPT : python x.py test && python x.py dist
78+ SCRIPT : python x.py dist
5779 RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-extended
5880 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
5981 MINGW_ARCHIVE : x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
@@ -83,12 +105,15 @@ install:
83105 # file exists in there (which it doesn't by default).
84106 - if defined MINGW_URL appveyor DownloadFile %MINGW_URL%/%MINGW_ARCHIVE%
85107 - if defined MINGW_URL 7z x -y %MINGW_ARCHIVE% > nul
86- - if defined MINGW_URL set PATH=C:\Python27;%CD%\%MINGW_DIR%\bin;C:\msys64\usr\bin;%PATH%
87- - if defined MINGW_URL copy C:\Python27\python.exe C:\Python27\python2.7.exe
108+ - if defined MINGW_URL set PATH=%CD%\%MINGW_DIR%\bin;C:\msys64\usr\bin;%PATH%
88109
89110 # Otherwise pull in the MinGW installed on appveyor
90111 - if NOT defined MINGW_URL set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%
91112
113+ # Prefer the "native" Python as LLVM has trouble building with MSYS sometimes
114+ - copy C:\Python27\python.exe C:\Python27\python2.7.exe
115+ - set PATH=C:\Python27;%PATH%
116+
92117 # Download and install sccache
93118 - appveyor DownloadFile https://api.pub.build.mozilla.org/tooltool/sha512/%SCCACHE_DIGEST%
94119 - mv %SCCACHE_DIGEST% sccache.tar.bz2
0 commit comments