From b26ed4c16e3062cf9a00450d4aaa3ee7e5b52a79 Mon Sep 17 00:00:00 2001 From: Ben Vinegar Date: Sat, 24 Oct 2026 09:14:32 -0400 Subject: [PATCH] fix(ci): use available QEMU user package on Ubuntu --- .changeset/ubuntu-qemu-user.md | 2 ++ .github/workflows/ci.yml | 4 ++-- .github/workflows/release-prebuilt-npm.yml | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 .changeset/ubuntu-qemu-user.md diff --git a/.changeset/ubuntu-qemu-user.md b/.changeset/ubuntu-qemu-user.md new file mode 100644 index 000000000..a845151cc --- /dev/null +++ b/.changeset/ubuntu-qemu-user.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b883ca58..d427e360b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -254,8 +254,8 @@ jobs: - name: Verify the binary starts without AVX2 run: | sudo apt-get update -qq - sudo apt-get install -y --no-install-recommends qemu-user-static - qemu-x86_64-static -cpu Nehalem dist/hunk --version + sudo apt-get install -y --no-install-recommends qemu-user + qemu-x86_64 -cpu Nehalem dist/hunk --version - name: Verify compiled binary watch mode run: bun test ./test/pty/watch.test.ts diff --git a/.github/workflows/release-prebuilt-npm.yml b/.github/workflows/release-prebuilt-npm.yml index 3537b0787..1761164c6 100644 --- a/.github/workflows/release-prebuilt-npm.yml +++ b/.github/workflows/release-prebuilt-npm.yml @@ -172,8 +172,8 @@ jobs: if: matrix.package_name == 'hunkdiff-linux-x64' run: | sudo apt-get update -qq - sudo apt-get install -y --no-install-recommends qemu-user-static - qemu-x86_64-static -cpu Nehalem dist/hunk --version + sudo apt-get install -y --no-install-recommends qemu-user + qemu-x86_64 -cpu Nehalem dist/hunk --version - name: Upload binary artifact uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1