Skip to content

Commit 9f92863

Browse files
committed
Fix appveyor try 3
1 parent fd7a1e9 commit 9f92863

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

appveyor.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,19 @@
11
environment:
2-
# When this was added there were revocation check failures when using the
3-
# libcurl backend as libcurl checks by default, but rustup doesn't provide the
4-
# switch to turn this off. Switch to Reqwest which looks to not check for
5-
# revocation by default like libcurl does.
6-
RUSTUP_USE_REQWEST: 1
7-
CARGO_HTTP_CHECK_REVOKE: false
82
matrix:
93
- TARGET: x86_64-pc-windows-gnu
10-
MSYS2_BITS: 64
4+
MSYS_BITS: 64
5+
ARCH: x86_64
116
- TARGET: i686-pc-windows-gnu
12-
MSYS2_BITS: 32
7+
MSYS_BITS: 32
8+
ARCH: i686
139
- TARGET: x86_64-pc-windows-msvc
1410
- TARGET: i686-pc-windows-msvc
1511
install:
16-
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
17-
- rustup-init.exe -y --default-host %TARGET%
18-
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
19-
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
20-
- if defined MSYS2_BITS for %%I in (crt2.o dllcrt2.o libmsvcrt.a) do xcopy /Y "C:\msys64\mingw%MSYS2_BITS%\%ARCH%-w64-mingw32\lib\%%I" "C:\Program Files (x86)\Rust\lib\rustlib\%TARGET%\lib"
12+
- if defined MSYS_BITS set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%;
13+
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
14+
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
15+
- set PATH=%PATH%;C:\Program Files (x86)\Rust\bin
16+
- if defined MSYS_BITS for %%I in (crt2.o dllcrt2.o libmsvcrt.a) do xcopy /Y "C:\msys64\mingw%MSYS_BITS%\%ARCH%-w64-mingw32\lib\%%I" "C:\Program Files (x86)\Rust\lib\rustlib\%TARGET%\lib"
2117
- rustc -V
2218
- cargo -V
2319

0 commit comments

Comments
 (0)