mirror of
https://gitee.com/openharmony/third_party_rust_which-rs
synced 2024-11-27 09:40:44 +00:00
30 lines
785 B
YAML
30 lines
785 B
YAML
os: Visual Studio 2015
|
|
|
|
environment:
|
|
matrix:
|
|
- channel: stable
|
|
target: x86_64-pc-windows-msvc
|
|
- channel: stable
|
|
target: i686-pc-windows-msvc
|
|
- channel: stable
|
|
target: x86_64-pc-windows-gnu
|
|
- channel: stable
|
|
target: i686-pc-windows-gnu
|
|
install:
|
|
# Set PATH for MinGW toolset
|
|
- if %target% == x86_64-pc-windows-gnu set PATH=%PATH%;C:\msys64\mingw64\bin
|
|
- if %target% == i686-pc-windows-gnu set PATH=%PATH%;C:\msys64\mingw32\bin
|
|
|
|
# Install Rust toolset
|
|
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
|
- rustup-init -yv --default-toolchain %channel% --default-host %target%
|
|
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
|
- rustc -vV
|
|
- cargo -vV
|
|
|
|
build: false
|
|
|
|
test_script:
|
|
- cargo test
|
|
- cargo test --no-default-features
|