File tree 1 file changed +9
-10
lines changed
1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -2,23 +2,22 @@ environment:
2
2
matrix :
3
3
- TARGET : x86_64-pc-windows-msvc
4
4
- TARGET : i686-pc-windows-msvc
5
- - TARGET : x86_64-pc-windows-gnu
6
- MSYS_BITS : 64
7
- - TARGET : i686-pc-windows-gnu
8
- MSYS_BITS : 32
9
5
10
6
install :
11
- - ps : Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
12
- - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
13
- - set PATH=%PATH%;C:\Program Files (x86)\Rust\bin
14
- - if defined MSYS_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS_BITS%\bin
15
- - rustc -V
7
+ - curl -sSf -o rustup-init.exe https://win.rustup.rs/
8
+ - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly
9
+ - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
10
+ - rustc -Vv
16
11
- cargo -V
17
12
18
13
build_script :
19
14
- git submodule -q update --init
20
- - cargo build --target %TARGET% --all -v
21
15
22
16
test_script :
23
17
- SET RUST_BACKTRACE=1
24
18
- cargo test --target %TARGET% --all -v
19
+ - cargo test --release --target %TARGET% --all -v
20
+
21
+ cache :
22
+ - C:\Users\appveyor\.cargo\registry
23
+ - target
You can’t perform that action at this time.
0 commit comments