@@ -43,14 +43,14 @@ environment:
4343 # *not* use debug assertions and llvm assertions. This is because they take
4444 # too long on appveyor and this is tested by rustbuild below.
4545 - MSYS_BITS : 32
46- RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu
46+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-ninja
4747 SCRIPT : python x.py test
4848 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
4949 MINGW_ARCHIVE : i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
5050 MINGW_DIR : mingw32
5151 - MSYS_BITS : 64
5252 SCRIPT : python x.py test
53- RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu
53+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-ninja
5454 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
5555 MINGW_ARCHIVE : x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
5656 MINGW_DIR : mingw64
@@ -68,15 +68,15 @@ environment:
6868 SCRIPT: python x.py dist
6969 DEPLOY: 1
7070 - MSYS_BITS : 32
71- RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-extended
71+ RUST_CONFIGURE_ARGS : --build=i686-pc-windows-gnu --enable-extended --enable-ninja
7272 SCRIPT : python x.py dist
7373 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
7474 MINGW_ARCHIVE : i686-4.9.2-release-win32-dwarf-rt_v4-rev4.7z
7575 MINGW_DIR : mingw32
7676 DEPLOY : 1
7777 - MSYS_BITS : 64
7878 SCRIPT : python x.py dist
79- RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-extended
79+ RUST_CONFIGURE_ARGS : --build=x86_64-pc-windows-gnu --enable-extended --enable-ninja
8080 MINGW_URL : https://s3.amazonaws.com/rust-lang-ci
8181 MINGW_ARCHIVE : x86_64-4.9.2-release-win32-seh-rt_v4-rev4.7z
8282 MINGW_DIR : mingw64
@@ -116,9 +116,16 @@ install:
116116
117117 # Download and install sccache
118118 - appveyor-retry appveyor DownloadFile https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-16-sccache-x86_64-pc-windows-msvc
119- - mv 2017-03-16-sccache-x86_64-pc-windows-msvc sccache
119+ - mv 2017-03-16-sccache-x86_64-pc-windows-msvc sccache.exe
120120 - set PATH=%PATH%;%CD%
121121
122+ # Download and install ninja
123+ #
124+ # Note that this is originally from the github releases patch of Ninja
125+ - appveyor-retry appveyor DownloadFile https://s3.amazonaws.com/rust-lang-ci/rust-ci-mirror/2017-03-15-ninja-win.zip
126+ - 7z x 2017-03-15-ninja-win.zip
127+ # - set PATH=%PATH%;%CD% -- this already happens above for sccache
128+
122129 # Install InnoSetup to get `iscc` used to produce installers
123130 - appveyor-retry choco install -y InnoSetup
124131 - set PATH="C:\Program Files (x86)\Inno Setup 5";%PATH%
0 commit comments