mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-10-01 19:15:46 +00:00
80 lines
1.8 KiB
YAML
80 lines
1.8 KiB
YAML
|
steps:
|
||
|
- label: "build-msvc-x86"
|
||
|
commands:
|
||
|
- cargo build --release
|
||
|
retry:
|
||
|
automatic: true
|
||
|
agents:
|
||
|
platform: x86_64
|
||
|
os: windows
|
||
|
plugins:
|
||
|
- petrutlucian94/docker#v3.1.1:
|
||
|
image: "lpetrut/rust_win_buildtools"
|
||
|
always-pull: true
|
||
|
|
||
|
- label: "build-msvc-x86-mmap"
|
||
|
commands:
|
||
|
- cargo build --release --features=backend-mmap
|
||
|
retry:
|
||
|
automatic: true
|
||
|
agents:
|
||
|
platform: x86_64
|
||
|
os: windows
|
||
|
plugins:
|
||
|
- petrutlucian94/docker#v3.1.1:
|
||
|
image: "lpetrut/rust_win_buildtools"
|
||
|
always-pull: true
|
||
|
|
||
|
- label: "style"
|
||
|
command: cargo fmt --all -- --check
|
||
|
retry:
|
||
|
automatic: true
|
||
|
agents:
|
||
|
platform: x86_64
|
||
|
os: windows
|
||
|
plugins:
|
||
|
- petrutlucian94/docker#v3.1.1:
|
||
|
image: "lpetrut/rust_win_buildtools"
|
||
|
always-pull: true
|
||
|
|
||
|
- label: "unittests-msvc-x86"
|
||
|
commands:
|
||
|
- cargo test --all-features
|
||
|
retry:
|
||
|
automatic: true
|
||
|
agents:
|
||
|
platform: x86_64
|
||
|
os: windows
|
||
|
plugins:
|
||
|
- petrutlucian94/docker#v3.1.1:
|
||
|
image: "lpetrut/rust_win_buildtools"
|
||
|
always-pull: true
|
||
|
|
||
|
- label: "clippy-x86"
|
||
|
commands:
|
||
|
- cargo clippy --all
|
||
|
retry:
|
||
|
automatic: true
|
||
|
agents:
|
||
|
platform: x86_64
|
||
|
os: windows
|
||
|
plugins:
|
||
|
- petrutlucian94/docker#v3.1.1:
|
||
|
image: "lpetrut/rust_win_buildtools"
|
||
|
always-pull: true
|
||
|
|
||
|
- label: "check-warnings-x86"
|
||
|
commands:
|
||
|
- cargo check --all-targets
|
||
|
retry:
|
||
|
automatic: true
|
||
|
agents:
|
||
|
platform: x86_64
|
||
|
os: windows
|
||
|
plugins:
|
||
|
- petrutlucian94/docker#v3.1.1:
|
||
|
image: "lpetrut/rust_win_buildtools"
|
||
|
always-pull: true
|
||
|
environment:
|
||
|
- "RUSTFLAGS=-D warnings"
|