mirror of
https://gitee.com/openharmony/third_party_rust_log
synced 2024-11-24 00:00:06 +00:00
20 lines
566 B
YAML
20 lines
566 B
YAML
environment:
|
|
matrix:
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
- TARGET: i686-pc-windows-msvc
|
|
- TARGET: i686-pc-windows-gnu
|
|
install:
|
|
- 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
|
|
- cargo -V
|
|
|
|
build: false
|
|
|
|
test_script:
|
|
- cargo test --verbose
|
|
- cargo test --verbose --features serde
|
|
- cargo test --manifest-path env/Cargo.toml
|