From f8012caf58f95f64747df1d46343575845a1943f Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 27 Oct 2026 18:15:58 -0400 Subject: [PATCH] Install qemu-user for the ppc64 CI ubuntu-latest is Ubuntu 26.04, where qemu-system-ppc64 is a virtual package and apt refuses it. The tests run qemu-ppc64, which is in qemu-user. Put that run back on its own line. --- .github/workflows/bigendiantests.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bigendiantests.yml b/.github/workflows/bigendiantests.yml index 5ce88625..d9034b6e 100644 --- a/.github/workflows/bigendiantests.yml +++ b/.github/workflows/bigendiantests.yml @@ -20,9 +20,12 @@ jobs: - name: Test run: | sudo apt-get update - sudo apt install -y qemu-system-ppc64 qemu-user + # qemu-ppc64 is the user-mode emulator in qemu-user. + # qemu-system-ppc64 is only a virtual package on Ubuntu 26.04. + sudo apt install -y qemu-user GOARCH=ppc64 go test -c -o roaring_test GOARCH=ppc64 go test ./roaring64 -c -o ./roaring64/roaring64_test - GOARCH=ppc64 go test ./BitSliceIndexing -c -o ./BitSliceIndexing/BitSliceIndexing_test qemu-ppc64 ./roaring_test + GOARCH=ppc64 go test ./BitSliceIndexing -c -o ./BitSliceIndexing/BitSliceIndexing_test + qemu-ppc64 ./roaring_test qemu-ppc64 ./roaring64/roaring64_test cd BitSliceIndexing && qemu-ppc64 ./BitSliceIndexing_test