Skip to content

Commit 06cf357

Browse files
slptylerfanelli
authored andcommitted
ci: add integration tests
Add integrations tests to the Cirrus running based on Matej's recent work. Signed-off-by: Sergio Lopez <[email protected]>
1 parent a8576b7 commit 06cf357

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

.cirrus.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
container:
2-
image: rust:latest
3-
kvm: true
4-
5-
task:
1+
unit_test_task:
2+
container:
3+
image: rust:latest
4+
kvm: true
65
name: Unit Tests (x86_64)
76
fake_init_script: touch init/init
87
download_libkrunfw_script:
@@ -14,3 +13,16 @@ task:
1413
- apt-get update && apt-get install -y libvirglrenderer-dev libepoxy-dev libdrm-dev
1514
test_script: cargo test
1615
before_cache_script: rm -rf $CARGO_HOME/registry/index
16+
17+
ci_test_task:
18+
container:
19+
image: fedora:41
20+
kvm: true
21+
name: Integration Tests (x86_64)
22+
download_libkrunfw_script:
23+
- curl -L -o /tmp/libkrunfw-4.9.0-x86_64.tgz https://github.com/containers/libkrunfw/releases/download/v4.9.0/libkrunfw-4.9.0-x86_64.tgz && tar xpf /tmp/libkrunfw-4.9.0-x86_64.tgz -C /usr
24+
install_packages_script:
25+
- dnf install -y clang-devel gcc glibc-static make patchelf rustup
26+
install_rust_script:
27+
- rustup-init -y -t x86_64-unknown-linux-musl
28+
test_script: . "$HOME/.cargo/env" && make test

0 commit comments

Comments
 (0)