mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-04 19:11:11 +00:00
.github: build MSHV and KVM at the same time
Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
parent
7b99bd9496
commit
5aaa647639
3
.github/workflows/build.yaml
vendored
3
.github/workflows/build.yaml
vendored
@ -59,6 +59,9 @@ jobs:
|
||||
- name: Build (common + mshv)
|
||||
run: cargo rustc --locked --bin cloud-hypervisor --no-default-features --features "common,mshv" -- -D warnings
|
||||
|
||||
- name: Build (common + mshv + kvm)
|
||||
run: cargo rustc --locked --bin cloud-hypervisor --no-default-features --features "common,mshv,kvm" -- -D warnings
|
||||
|
||||
- name: Release Build (default features)
|
||||
run: cargo build --locked --all --release --target=${{ matrix.target }}
|
||||
|
||||
|
3
.github/workflows/quality.yaml
vendored
3
.github/workflows/quality.yaml
vendored
@ -51,5 +51,8 @@ jobs:
|
||||
- name: Clippy (common + mshv)
|
||||
run: cargo clippy --locked --all --all-targets --no-default-features --tests --features "common,mshv" -- -D warnings
|
||||
|
||||
- name: Clippy (common + mshv + kvm)
|
||||
run: cargo clippy --locked --all --all-targets --no-default-features --tests --features "common,mshv,kvm" -- -D warnings
|
||||
|
||||
- name: Check build did not modify any files
|
||||
run: test -z "$(git status --porcelain)"
|
||||
|
Loading…
Reference in New Issue
Block a user