From 3c9e97ce009c04e80ab84c38daec1746ef697f68 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Mon, 28 Mar 2022 11:22:08 +0100 Subject: [PATCH] .github: Add build testing of "gdb" build feature Signed-off-by: Rob Bradford --- .github/workflows/build.yaml | 3 +++ .github/workflows/quality.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index bd6689c15..a78575dde 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -50,6 +50,9 @@ jobs: - name: Build (default features + amx) run: cargo rustc --bin cloud-hypervisor --features "amx" -- -D warnings + - name: Build (default features + gdb) + run: cargo rustc --bin cloud-hypervisor --features "gdb" -- -D warnings + - name: Build (common + mshv) run: cargo rustc --bin cloud-hypervisor --no-default-features --features "common,mshv" -- -D warnings diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 57e871e0f..d167d0791 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -42,6 +42,9 @@ jobs: - name: Clippy (default features + amx) run: cargo clippy --all --all-targets --tests --features "amx" -- -D warnings + - name: Clippy (default features + gdb) + run: cargo clippy --all --all-targets --tests --features "gdb" -- -D warnings + - name: Clippy (common + mshv) run: cargo clippy --all --all-targets --no-default-features --tests --features "common,mshv" -- -D warnings