Skip to content

Commit 5b2fe2c

Browse files
committed
Fixed AppVeyor configuration
1 parent 7158cf3 commit 5b2fe2c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ install:
2424
- curl -sSf -o rustup-init.exe https://dev-static.rust-lang.org/rustup/dist/i686-pc-windows-gnu/rustup-init.exe
2525
- rustup-init.exe -y
2626
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
27-
- rustup default nightly-2016-05-10-x86_64-pc-windows-msvc
27+
- rustup default stable-x86_64-pc-windows-msvc
2828

2929
# Install the target we're compiling for
3030
- if NOT "%TARGET%" == "x86_64-pc-windows-msvc" rustup target add %TARGET%
@@ -56,10 +56,11 @@ test_script:
5656
- ps: |
5757
if($env:BUILD_MSI) {
5858
cd src\rustup-win-installer
59-
cargo build --release
59+
cargo build --release --target %TARGET%
6060
cd msi
6161
.\build.ps1
6262
cd ..\..\..
63+
if($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
6364
}
6465
6566
notifications:

0 commit comments

Comments
 (0)