diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d05d8f2af..93c874520 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,6 +49,9 @@ jobs: - name: Build (default features + guest_debug) run: cargo rustc --locked --bin cloud-hypervisor --features "guest_debug" -- -D warnings -D clippy::undocumented_unsafe_blocks + - name: Build (default features + pvmemcontrol) + run: cargo rustc --locked --bin cloud-hypervisor --features "pvmemcontrol" -- -D warnings -D clippy::undocumented_unsafe_blocks + - name: Build (mshv) run: cargo rustc --locked --bin cloud-hypervisor --no-default-features --features "mshv" -- -D warnings -D clippy::undocumented_unsafe_blocks diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index b2230e0d4..93777b618 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -80,6 +80,13 @@ jobs: command: clippy args: --target=${{ matrix.target }} --locked --all --all-targets --tests --examples --features "guest_debug" -- -D warnings -D clippy::undocumented_unsafe_blocks + - name: Clippy (default features + pvmemcontrol) + uses: actions-rs/cargo@v1 + with: + use-cross: ${{ matrix.target != 'x86_64-unknown-linux-gnu' }} + command: clippy + args: --target=${{ matrix.target }} --locked --all --all-targets --tests --examples --features "pvmemcontrol" -- -D warnings -D clippy::undocumented_unsafe_blocks + - name: Clippy (default features + tracing) uses: actions-rs/cargo@v1 with: