Skip to content

Commit 343b9ee

Browse files
committed
Update appveyor config to newer appveyor-rust scheme.
1 parent 679960d commit 343b9ee

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

appveyor.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
environment:
22
matrix:
3-
- TARGET: nightly-x86_64-pc-windows-msvc
4-
- TARGET: nightly-x86_64-pc-windows-gnu
5-
- TARGET: 1.50.0-x86_64-pc-windows-gnu
3+
- channel: nightly
4+
target: x86_64-pc-windows-msvc
5+
- channel: nightly
6+
target: x86_64-pc-windows-gnu
7+
- channel: 1.50.0
8+
target: x86_64-pc-windows-gnu
69
install:
7-
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:TARGET}.exe" -FileName "rust-install.exe"
8-
- ps: .\rust-install.exe /VERYSILENT /NORESTART /DIR="C:\rust" | Out-Null
9-
- ps: $env:PATH="$env:PATH;C:\rust\bin"
10+
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
11+
- rustup-init -yv --default-toolchain %channel% --default-host %target%
12+
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
1013
- rustc -vV
1114
- cargo -vV
1215
build_script:

0 commit comments

Comments
 (0)