File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -370,6 +370,7 @@ jobs:
370
370
371
371
upgrade :
372
372
name : " Upgrade test"
373
+ # The QEMU bottle URL needs to be updated when the runner is upgraded from Monterey
373
374
runs-on : macos-12
374
375
timeout-minutes : 120
375
376
strategy :
@@ -387,7 +388,15 @@ jobs:
387
388
with :
388
389
template : https://raw.githubusercontent.com/lima-vm/lima/${{ matrix.oldver }}/examples/ubuntu-lts.yaml
389
390
- 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
391
400
- name : Test
392
401
uses : nick-fields/retry@v3
393
402
with :
You can’t perform that action at this time.
0 commit comments