@@ -20,39 +20,28 @@ environment:
20
20
21
21
# 32/64-bit MinGW builds.
22
22
#
23
- # The MinGW builds unfortunately have to both download a custom toolchain and
24
- # avoid the one installed by AppVeyor by default. Interestingly, though, for
25
- # different reasons!
23
+ # We are using MinGW with posix threads since LLVM does not compile with
24
+ # the win32 threads version due to missing support for C++'s std::thread.
26
25
#
27
- # For 32-bit the installed gcc toolchain on AppVeyor uses the pthread
28
- # threading model. This is unfortunately not what we want, and if we compile
29
- # with it then there's lots of link errors in the standard library (undefined
30
- # references to pthread symbols).
31
- #
32
- # For 64-bit the installed gcc toolchain is currently 5.3.0 which
33
- # unfortunately segfaults on Windows with --enable-llvm-assertions (segfaults
34
- # in LLVM). See rust-lang/rust#28445 for more information, but to work around
35
- # this we go back in time to 4.9.2 specifically.
26
+ # Instead of relying on the MinGW version installed on appveryor we download
27
+ # and install one ourselves so we won't be surprised by changes to appveyor's
28
+ # build image.
36
29
#
37
30
# Finally, note that the downloads below are all in the `rust-lang-ci` S3
38
31
# bucket, but they cleraly didn't originate there! The downloads originally
39
32
# came from the mingw-w64 SourceForge download site. Unfortunately
40
33
# SourceForge is notoriously flaky, so we mirror it on our own infrastructure.
41
- #
42
- # And as a final point of note, the 32-bit MinGW build using the makefiles do
43
- # *not* use debug assertions and llvm assertions. This is because they take
44
- # too long on appveyor and this is tested by rustbuild below.
45
34
- MSYS_BITS : 32
46
35
RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-ninja
47
36
SCRIPT : python x.py test
48
37
MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
49
- MINGW_ARCHIVE : i686-6.2.0-release-win32 -dwarf-rt_v5-rev1.7z
38
+ MINGW_ARCHIVE : i686-6.2.0-release-posix -dwarf-rt_v5-rev1.7z
50
39
MINGW_DIR : mingw32
51
40
- MSYS_BITS : 64
52
41
SCRIPT : python x.py test
53
42
RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-ninja
54
43
MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
55
- MINGW_ARCHIVE : x86_64-6.2.0-release-win32 -seh-rt_v5-rev1.7z
44
+ MINGW_ARCHIVE : x86_64-6.2.0-release-posix -seh-rt_v5-rev1.7z
56
45
MINGW_DIR : mingw64
57
46
58
47
# 32/64 bit MSVC and GNU deployment
@@ -71,14 +60,14 @@ environment:
71
60
RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-extended --enable-ninja
72
61
SCRIPT : python x.py dist
73
62
MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
74
- MINGW_ARCHIVE : i686-6.2.0-release-win32 -dwarf-rt_v5-rev1.7z
63
+ MINGW_ARCHIVE : i686-6.2.0-release-posix -dwarf-rt_v5-rev1.7z
75
64
MINGW_DIR : mingw32
76
65
DEPLOY : 1
77
66
- MSYS_BITS : 64
78
67
SCRIPT : python x.py dist
79
68
RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-extended --enable-ninja
80
69
MINGW_URL : https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror
81
- MINGW_ARCHIVE : x86_64-6.2.0-release-win32 -seh-rt_v5-rev1.7z
70
+ MINGW_ARCHIVE : x86_64-6.2.0-release-posix -seh-rt_v5-rev1.7z
82
71
MINGW_DIR : mingw64
83
72
DEPLOY : 1
84
73
@@ -146,6 +135,8 @@ test_script:
146
135
- set SRC=.
147
136
- set NO_CCACHE=1
148
137
- sh src/ci/run.sh
138
+ - bash -c 'while true; do echo "Success."; sleep 300; done'
139
+ - exit 1
149
140
150
141
on_failure :
151
142
- cat %CD%\sccache.log || exit 0
0 commit comments