dragonball: enhance dragonball ci

Unified use of Makefile instead of calling `cargo test` directly.

Signed-off-by: wllenyj <wllenyj@linux.alibaba.com>
This commit is contained in:
wllenyj
2022-10-12 14:59:38 +08:00
parent 6a64fb0eb3
commit a343c570e4
3 changed files with 12 additions and 4 deletions

View File

@@ -116,5 +116,4 @@ jobs:
cd src/dragonball
/root/.cargo/bin/cargo version
rustc --version
# TODO: Using the cargo command directly will get `sudo: cargo: command not found` error.
sudo -E /root/.cargo/bin/cargo test --all-features -- --nocapture
sudo -E env PATH=$PATH LIBC=gnu SUPPORT_VIRTUALIZATION=true make test