mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 21:55:20 +00:00
a6a3d247da
`fuzz` is a separate workspace, enable consistency check on rust-vmm crates in `fuzz` to keep stuffs in sync with root workspace. Signed-off-by: Ruoqing He <heruoqing@iscas.ac.cn>
33 lines
900 B
YAML
33 lines
900 B
YAML
name: Cloud Hypervisor Consistency
|
|
on: [pull_request, merge_group]
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: Rust VMM Consistency Check
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Code checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Install dependencies
|
|
run: sudo apt install -y python3
|
|
|
|
- name: Install Rust toolchain stable
|
|
uses: dtolnay/rust-toolchain@stable
|
|
with:
|
|
toolchain: stable
|
|
|
|
- name: Check Rust VMM Package Consistency of root Workspace
|
|
run: python3 scripts/package-consistency-check.py github.com/rust-vmm
|
|
|
|
- name: Check Rust VMM Package Consistency of fuzz Workspace
|
|
run: |
|
|
pushd fuzz
|
|
python3 ../scripts/package-consistency-check.py github.com/rust-vmm
|
|
popd
|