mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-02 19:45:46 +00:00
d5f5648b37
We use cargo vendor to generate a .cargo/config file and the vendor directory. Vendoring allows us to lock our dependencies and to modify them easily from the top level Cargo.toml. We vendor all dependencies, including the crates.io ones, which allows for network isolated builds. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
20 lines
560 B
YAML
20 lines
560 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 --verbose --features std
|