diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 394c9279a..3bac2c72b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 }} diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 1d664f47c..a3045dee8 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -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)"