mirror of
https://github.com/danbulant/robotparser-rs
synced 2026-06-18 14:11:30 +00:00
Update appveyor.yml
Signed-off-by: messense <messense@icloud.com>
This commit is contained in:
parent
4e580ae3ee
commit
8158a38cd8
1 changed files with 14 additions and 5 deletions
19
appveyor.yml
19
appveyor.yml
|
|
@ -1,8 +1,17 @@
|
|||
environment:
|
||||
OPENSSL_INCLUDE_DIR: C:\OpenSSL\include
|
||||
OPENSSL_LIB_DIR: C:\OpenSSL\lib
|
||||
OPENSSL_LIBS: ssleay32:libeay32
|
||||
matrix:
|
||||
- TARGET: i686-pc-windows-gnu
|
||||
BITS: 32
|
||||
# - TARGET: x86_64-pc-windows-msvc
|
||||
# BITS: 64
|
||||
install:
|
||||
- ps: Start-FileDownload "http://slproweb.com/download/Win64OpenSSL-1_0_2g.exe"
|
||||
- Win64OpenSSL-1_0_2g.exe /silent /verysilent /sp- /suppressmsgboxes /dir="C:\OpenSSL-Win64"
|
||||
- ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-nightly-i686-pc-windows-gnu.exe'
|
||||
- rust-nightly-i686-pc-windows-gnu.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
||||
- ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-1_0_2g.exe"
|
||||
- Win%BITS%OpenSSL-1_0_2g.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL"
|
||||
- ps: Start-FileDownload 'https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe'
|
||||
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
||||
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
||||
- SET PATH=%PATH%;C:\MinGW\bin
|
||||
- rustc -V
|
||||
|
|
@ -11,4 +20,4 @@ install:
|
|||
build: false
|
||||
|
||||
test_script:
|
||||
- env OPENSSL_LIB_DIR=C:/OpenSSL-Win64 OPENSSL_INCLUDE_DIR=C:/OpenSSL-Win64/include cargo test --verbose
|
||||
- cargo test --verbose
|
||||
|
|
|
|||
Loading…
Reference in a new issue