Skip to content

Commit 2f5a1c2

Browse files
committed
Update .appveyor.yml
Linking lmdb with MinGW has begun failing due to [1], so this commit disables it. [1]: rust-lang/rust#47048
1 parent 12b4611 commit 2f5a1c2

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.appveyor.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,22 @@ environment:
22
matrix:
33
- TARGET: x86_64-pc-windows-msvc
44
- 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
95

106
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
1611
- cargo -V
1712

1813
build_script:
1914
- git submodule -q update --init
20-
- cargo build --target %TARGET% --all -v
2115

2216
test_script:
2317
- SET RUST_BACKTRACE=1
2418
- 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

0 commit comments

Comments
 (0)