mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
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 <william.douglas@intel.com>
This commit is contained in:
parent
6b0df31e5d
commit
c8d07f66d1
5
.github/workflows/build.yaml
vendored
5
.github/workflows/build.yaml
vendored
@ -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 }}
|
||||
|
||||
|
3
.github/workflows/quality.yaml
vendored
3
.github/workflows/quality.yaml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user