Songqian Li
51e095c54d
ci: add build and quality check for ivshmem feature
...
Signed-off-by: Songqian Li <sionli@tencent.com >
2025-08-14 22:14:34 +00:00
dependabot[bot]
55212b0437
build: Bump crate-ci/typos from 1.35.3 to 1.35.4
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.35.3 to 1.35.4.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.35.3...v1.35.4 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-version: 1.35.4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-14 17:31:00 +00:00
dependabot[bot]
3d5e5f318b
build: Bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-13 18:11:18 +00:00
Alex Orozco
5d478c534e
tests: Add fw_cfg device integration test
...
This test verifies that we can see custom items added to the fw_cfg
device from inside the guest
Signed-off-by: Alex Orozco <alexorozco@google.com >
2025-08-11 17:29:51 +00:00
dependabot[bot]
f87772cd36
build: Bump crate-ci/typos from 1.35.2 to 1.35.3
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.35.2 to 1.35.3.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.35.2...v1.35.3 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-version: 1.35.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-09 00:29:54 +00:00
dependabot[bot]
4f4940b02a
build: Bump crate-ci/typos from 1.35.1 to 1.35.2
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.35.1 to 1.35.2.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.35.1...v1.35.2 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-version: 1.35.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-08 00:18:56 +00:00
dependabot[bot]
9ee3b29a11
build: Bump crate-ci/typos from 1.34.0 to 1.35.1
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.34.0 to 1.35.1.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.34.0...v1.35.1 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-version: 1.35.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-05 08:15:40 +00:00
Jinank Jain
fe422a45af
build: Move away from actions-rs/cross
...
Since action-rs/cross is deprecrated, thus move to
houseabsolute/actions-rust-cross.
We should pin the cross-version to the latest version to fix the build
issues with virtio-bindings crate.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2025-07-07 03:05:38 +00:00
dependabot[bot]
8a78043e2f
build: Bump crate-ci/typos from 1.33.1 to 1.34.0
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.33.1 to 1.34.0.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.33.1...v1.34.0 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-version: 1.34.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-01 02:50:46 +00:00
dependabot[bot]
b26b09ec0c
build: Bump crate-ci/typos from 1.32.0 to 1.33.1
...
Bumps [crate-ci/typos](https://github.com/crate-ci/typos ) from 1.32.0 to 1.33.1.
- [Release notes](https://github.com/crate-ci/typos/releases )
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md )
- [Commits](https://github.com/crate-ci/typos/compare/v1.32.0...v1.33.1 )
---
updated-dependencies:
- dependency-name: crate-ci/typos
dependency-version: 1.33.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-06-14 00:42:13 +00:00
Philipp Schuster
12b72ba3c1
ci: bump typos
...
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de >
On-behalf-of: SAP philipp.schuster@sap.com
2025-06-10 15:52:12 +00:00
Jinank Jain
960d702255
hypervisor: Enable MSHV compilation on ARM64
...
Along with it also enable clippy tests on MSHV aarch64 builds.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2025-04-16 03:36:12 +00:00
Ruoqing He
0dc3634b7b
ci: Enable clippy::assertions_on_result_states
...
This lint disallows asserttions on is_ok()/is_err() in favor of either
using unwrap (so that at least if the test fails, we the failure message
will contain the actual failure reason instead of just "was not
ok/err"), or actually matching the specific variant.
Inspired by and quoted from @roypat.
Enable this lint for `build.yaml` and `quality.yaml`.
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn >
2024-10-03 12:03:49 +00:00
Rob Bradford
9013d8b4ca
build: Move cargo fmt check to nightly toolchain via new workflow
...
Enforcing group_imports="StdExternalCrate" requires using cargo fmt from
the nightly toolchain. Create a new workflow that runs on nightly to run
cargo fmt.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-09-29 13:08:12 +01:00
Rob Bradford
f041c940a7
build: Apply cargo fmt check to fuzz workspace
...
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-09-29 13:08:12 +01:00
Rob Bradford
13cf7a1315
build: Make cargo fmt check apply to all packages
...
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-09-29 13:08:12 +01:00
Ruoqing He
4644f8a643
github: Remove redundant use-cross
...
The steps with predicates of `x86_64` targets would never turn on
`use-cross`, removing them from quality check.
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn >
2024-09-20 11:13:58 +01:00
Ruoqing He
4d45e89d24
github: Refactor quality matrix
...
Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn >
2024-09-20 11:13:58 +01:00
Wei Liu
24ed063dbe
github: add build and clippy tests for pvmemcontrol
...
Signed-off-by: Wei Liu <liuwe@microsoft.com >
2024-08-06 18:39:30 +00:00
Rob Bradford
1db30405e1
build: Cancel in progress actions on update
...
If the PR updated cancel outstanding jobs to conserve resources.
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-02-28 20:11:20 +00:00
Rob Bradford
3e35529842
build: Only run bisectability check on PRs
...
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-02-28 20:11:20 +00:00
Rob Bradford
d9f48505fe
build: Ensure all required checks run on merge_group
...
And clean up some of the whitespace formatting so that the "name" and
"on" are grouped away from the "jobs".
Signed-off-by: Rob Bradford <rbradford@rivosinc.com >
2024-02-28 20:11:20 +00:00
Jinank Jain
5d4fe8efb9
github: ci: Move to action/checkout v4
...
There is a mix of v2, v3 and v4 in the codebase. Let's move to v4
everywhere because v2 seems to be using a deprecated version of nodejs.
This is throwing warnings when the Github action CI is running.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2023-12-11 13:29:11 +00:00
Muminul Islam
b9117c9c50
github: workflow: Build/quality test for igvm
...
Extend the current github actions to build and
test clippy for igvm feature.
Signed-off-by: Muminul Islam <muislam@microsoft.com >
2023-12-08 09:22:42 -08:00
Philipp Schuster
83f3b34405
ci: Run typos
...
This adds the typos utility as dedicated CI step.
Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de >
2023-09-09 10:46:21 +01:00
Jinank Jain
51548471fd
github: worflow: Add build and clippy test for snp
...
Extend the current github actions to add support for snp feature flag.
Signed-off-by: Jinank Jain <jinankjain@microsoft.com >
2023-09-07 12:52:27 +01:00
Rob Bradford
7ceb126184
github: Build examples as well as tests in quality workflow
...
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2023-02-16 09:59:14 -08:00
Rob Bradford
a1c6ef8385
.github: Add musl variants to quality (clippy) checks
...
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-12-07 17:50:48 +00:00
Rob Bradford
c37dadcc9a
.github: Enable "guest_debug" clippy on aarch64
...
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-12-05 17:23:52 +00:00
Rob Bradford
7fd2022e8e
.github: Ensure target used for clippy tests
...
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-12-01 17:02:30 +00:00
Rob Bradford
1b6dd597b2
.github: Remove build testing for aarch64 with guest_debug feature
...
See: #4964
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-12-01 17:02:30 +00:00
Wei Liu
3ca6c29e28
github: do not allow undocumented unsafe blocks
...
Signed-off-by: Wei Liu <liuwe@microsoft.com >
2022-11-18 12:50:01 +00:00
Rob Bradford
06eb82d239
build: Consolidate "gdb" build feature into "guest_debug"
...
This simplifies the CI process but also logical with the existing
functionality under "guest_debug" (dumping guest memory).
Fixes : #4679
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-09-27 14:30:57 +01:00
Rob Bradford
b2d1dd65f3
build: Remove "fwdebug" and "common" feature flags
...
This simplifes the buld and checks with very little overhead and the
fwdebug device is I/O port device on 0x402 that can be used by edk2 as a
very simple character device.
See: #4679
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-09-26 10:16:33 -07:00
Rob Bradford
36e26f004c
.github: Consolidate quality checks into single worklow
...
Combine aarch64 and x86-64 checks into one workflow
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-09-26 16:52:42 +01:00
Rob Bradford
c98bd2fd4a
.github: Add clippy check of tracing feature
...
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-09-22 18:09:31 +01:00
Sebastien Boeuf
1849ffff31
vmm: Remove "amx" feature gate
...
Given the AMX x86 feature has been made available since kernel v5.17,
and given we don't have any test validating this feature, there's no
need to keep it behing a Rust feature gate.
Fixes #3996
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com >
2022-09-16 15:03:31 +01:00
Rob Bradford
616ec530a8
.github: workflows: Fail on intermediate steps for commit checks
...
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-08-30 21:40:31 +01:00
Rob Bradford
850c0c8319
.github: workflows: Fix per commit buildability check
...
Fetch the whole git repository (not just the specific commit) and use
the github context instead of hardcoded branch.
Unfortunately now that we process the list of revisions correctly it
shows that the checks don't work on aarch64 due to cross limitations so
this has been removed.
Fixes : #4523
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-08-30 21:40:31 +01:00
Rob Bradford
c59b5e18a8
.github: Move per-commit check (using --tests) to quality checks
...
This removes the requirement for the tests (dev-dependencies) to build
with all supported toolchains including the MSRV.
See: #4318
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-08-11 13:18:33 +01:00
Wei Liu
5aaa647639
.github: build MSHV and KVM at the same time
...
Signed-off-by: Wei Liu <liuwe@microsoft.com >
2022-07-22 12:50:12 +01:00
Rob Bradford
4ddc6ffd73
.github: Add missing clippy check with "guest_debug" feature
...
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-06-08 11:40:56 +01:00
Wei Liu
babece08c6
github: use --locked in cargo invocations
...
Cargo comes with a --locked option that makes sure Cargo.lock is not
changed.
Signed-off-by: Wei Liu <liuwe@microsoft.com >
2022-04-19 13:44:24 +01:00
Rob Bradford
3c9e97ce00
.github: Add build testing of "gdb" build feature
...
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-03-28 09:18:29 -07:00
Rob Bradford
a9fdaa6734
.github: Simplify feature testing in workflows
...
This includes the removal of testing without the "acpi" feature. The
command have been reordered to reduce the amount of recompilation
required.
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2022-03-28 09:18:29 -07:00
William Douglas
c8d07f66d1
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 >
2022-03-25 14:11:54 -07:00
Bo Chen
c2f133990d
github: Remove use of "integration_tests" feature gate
...
Signed-off-by: Bo Chen <chen.bo@intel.com >
2022-01-10 10:29:07 +01:00
Rob Bradford
56c3073da4
github: Check files are not modified during build
...
Fixes : #2773
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2021-06-18 17:47:43 +02:00
Rob Bradford
943377e6a3
build: Add quality (clippy & rustfmt) using beta toolchain
...
This will give us advanced notice of upcoming changes.
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2021-03-29 15:56:23 +01:00
Rob Bradford
be0cbb09b1
build: Clippy check with "tdx" feature
...
In the absence of a way of integration testing this testing that it
compiles is reasonable compromise.
Signed-off-by: Rob Bradford <robert.bradford@intel.com >
2021-03-08 18:30:00 +00:00