Run the complete test suite in pinned Ubuntu guests so cgroupfs and
systemd coverage does not depend on the GitHub runner's hierarchy.
Cross-compile static test binaries on the host to keep TCG execution
practical.
Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com>
New zbus and zvariant releases require a newer Rust compiler.
Use Rust 1.90.0 in CI so dependency resolution can complete.
Signed-off-by: Tim Zhang <tim@hyper.sh>
Rust 1.69.0, released in 2023, lags significantly behind the version used
by Kata Containers. Therefore, we bump it to 1.85.1.
Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com>
Got the following error in the clippy:
error: this expression borrows a reference (`&str`) that is immediately dereferenced by the compiler
--> tests/cpuset.rs:54:37
|
54 | let r = cpuset.set_cpus(&cpus);
| ^^^^^ help: change this to: `cpus`
|
= note: `-D clippy::needless-borrow` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
But we did not touch the code, just becuase the clippy rules was updated
follow the rust update.
To avoid this problem we lock the rust version in CI and make it
steady.
Signed-off-by: Tim Zhang <tim@hyper.sh>
Basic checks includes:
- Must have commit title/body
- Must have DCO(SoC)
- Title/Body line length are limited 75/72
- Add wip/do-not-merge to label PRs that could be merged
Fixes: #15
Signed-off-by: bin liu <bin@hyper.sh>