Skip to content

Commit a04f7c3

Browse files
authored
Merge pull request #2640 from jandubois/qemu-8.2.1
CI: Downgrade to qemu-8.2.1
2 parents 380fe11 + ec3cf02 commit a04f7c3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ jobs:
370370

371371
upgrade:
372372
name: "Upgrade test"
373+
# The QEMU bottle URL needs to be updated when the runner is upgraded from Monterey
373374
runs-on: macos-12
374375
timeout-minutes: 120
375376
strategy:
@@ -387,7 +388,15 @@ jobs:
387388
with:
388389
template: https://raw.githubusercontent.com/lima-vm/lima/${{ matrix.oldver }}/examples/ubuntu-lts.yaml
389390
- name: Install test dependencies
390-
run: brew install qemu bash coreutils
391+
run: |
392+
brew install bash coreutils
393+
# QEMU 9.1.0 seems to break on GitHub runners, both on Monterey and Ventura
394+
# We revert back to 8.2.1, which seems to work fine
395+
# The SHA1 for the Monterey bottle comes from https://github.com/Homebrew/homebrew-core/blob/4c7ffca/Formula/q/qemu.rb
396+
brew uninstall --ignore-dependencies --force qemu
397+
curl -L -o qemu-8.2.1.monterey.bottle.tar.gz -H "Authorization: Bearer QQ==" \
398+
https://ghcr.io/v2/homebrew/core/qemu/blobs/sha256:41c77f6bac3e8c1664c665fbe2b19b19ee9da57f8e1ad6697348286710cc3575
399+
brew install --ignore-dependencies ./qemu-8.2.1.monterey.bottle.tar.gz
391400
- name: Test
392401
uses: nick-fields/retry@v3
393402
with:

0 commit comments

Comments
 (0)