Skip to content

Commit afb6bd9

Browse files
committed
ci: adapt the integration-test job to the split layout
The integration tests now live under separate x86 and riscv subdirectories and no longer need Cloud Hypervisor-specific setup in CI. Point the job at integration-test/, cache the per-target build directories, and install the QEMU packages needed by both test paths.
1 parent b44dba6 commit afb6bd9

1 file changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/rust.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,26 @@ jobs:
5858
with:
5959
key: "integration-test"
6060
cache-directories:
61-
./integration-test/target
62-
- name: Install QEMU
61+
./integration-test/x86/target
62+
./integration-test/riscv/target
63+
- name: Install integration-test dependencies
6364
run: |
6465
sudo apt-get update
65-
sudo apt-get install -y qemu-system-i386
66+
sudo apt-get install -y \
67+
make \
68+
qemu-system-misc \
69+
qemu-system-x86
6670
6771
- name: Verify QEMU installation
68-
run: qemu-system-i386 --version
72+
run: |
73+
qemu-system-i386 --version
74+
qemu-system-riscv64 --version
6975
- name: Build
70-
run: cd test && make
76+
working-directory: integration-test
77+
run: make
7178
- name: Run
72-
run: cd test && make run
79+
working-directory: integration-test
80+
run: make run
7381

7482
miri:
7583
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)