Skip to content

Commit a7dd682

Browse files
fabledgnurizen
authored andcommitted
reduce packages installed for integration tests
1 parent 62d9fe2 commit a7dd682

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/unit-test-on-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@ jobs:
199199
run: |
200200
sudo apt-get update -y
201201
case "${{ matrix.target_arch }}" in
202-
amd64) sudo apt-get -y install qemu-system-x86;;
203-
arm64) sudo apt-get -y install qemu-system-arm;;
202+
amd64) sudo apt-get -y --no-install-recommends --no-install-suggests install qemu-system-x86 ;;
203+
arm64) sudo apt-get -y --no-install-recommends --no-install-suggests install qemu-system-arm ipxe-qemu ;;
204204
*) echo >&2 "bug: bad arch selected"; exit 1;;
205205
esac
206206
go install github.com/florianl/bluebox@v0.0.1

support/run-tests.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ case "$qemu_arch" in
5757
;;
5858
esac
5959

60-
if [ "$qemu_arch" = "aarch64" ]; then
61-
additionalQemuArgs+=" -machine virt -cpu max"
62-
fi
63-
6460
bluebox "${bb_args[@]}" || (echo "failed to generate initramfs"; exit 1)
6561

6662
echo Testing on "${kernel_version}"

0 commit comments

Comments
 (0)