From c8d07f66d11bbb9a70e720069de1d8e0a24365ed Mon Sep 17 00:00:00 2001 From: William Douglas Date: Fri, 25 Mar 2022 11:53:21 -0700 Subject: [PATCH] build: Add amx workflows With the addition of the amx feature, add a new build workflow to enable the feature and a clippy quality check. Signed-off-by: William Douglas --- .github/workflows/build.yaml | 5 ++++- .github/workflows/quality.yaml | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 59b9c9015..96aa6c233 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -52,7 +52,10 @@ jobs: - name: Build (mshv) run: cargo rustc --bin cloud-hypervisor --no-default-features --features "mshv" -- -D warnings - + + - name: Build (default + amx) + run: cargo rustc --bin cloud-hypervisor --features "amx" -- -D warnings + - name: Release Build (default features) run: cargo build --all --release --target=${{ matrix.target }} diff --git a/.github/workflows/quality.yaml b/.github/workflows/quality.yaml index 378194861..cfe7b9446 100644 --- a/.github/workflows/quality.yaml +++ b/.github/workflows/quality.yaml @@ -54,6 +54,9 @@ jobs: - name: Clippy (mshv) run: cargo clippy --all --all-targets --no-default-features --tests --features "mshv" -- -D warnings + - name: Clippy (default + amx) + run: cargo clippy --all --all-targets --tests --features "amx" -- -D warnings + - name: Clippy (integration tests) run: cargo clippy --all --all-targets --tests -- -D warnings