@@ -5,17 +5,15 @@ environment:
5
5
secure : 1UkmbiDd15tWtYbMm5O2Uqm0b0Ur8v1MoSlydxl4ojcroPeerRMlUges0l57py8c
6
6
SCCACHE_DIGEST : f808afabb4a4eb1d7112bcb3fa6be03b61e93412890c88e177c667eb37f46353d7ec294e559b16f9f4b5e894f2185fe7670a0df15fd064889ecbd80f0c34166c
7
7
matrix :
8
- # 32/64 bit MSVC
8
+ # 32/64 bit MSVC tests
9
9
- 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
13
12
- 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
17
15
18
- # MSVC cargotest
16
+ # MSVC aux tests
19
17
- MSYS_BITS : 64
20
18
RUST_CHECK_TARGET : check-aux
21
19
RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-msvc
@@ -44,16 +42,40 @@ environment:
44
42
# And as a final point of note, the 32-bit MinGW build using the makefiles do
45
43
# *not* use debug assertions and llvm assertions. This is because they take
46
44
# 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
47
70
- MSYS_BITS : 32
48
71
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
50
73
MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
51
74
MINGW_ARCHIVE : i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
52
75
MINGW_DIR : mingw32
53
76
DEPLOY : 1
54
-
55
77
- MSYS_BITS : 64
56
- SCRIPT : python x.py test && python x.py dist
78
+ SCRIPT : python x.py dist
57
79
RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-extended
58
80
MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
59
81
MINGW_ARCHIVE : x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
@@ -83,12 +105,15 @@ install:
83
105
# file exists in there (which it doesn't by default).
84
106
- if defined MINGW_URL appveyor DownloadFile %MINGW_URL%/%MINGW_ARCHIVE%
85
107
- 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%
88
109
89
110
# Otherwise pull in the MinGW installed on appveyor
90
111
- if NOT defined MINGW_URL set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%
91
112
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
+
92
117
# Download and install sccache
93
118
- appveyor DownloadFile https://api.pub.build.mozilla.org/tooltool/sha512/%SCCACHE_DIGEST%
94
119
- mv %SCCACHE_DIGEST% sccache.tar.bz2
0 commit comments