Skip to content

Commit

Permalink
Merge pull request #2640 from jandubois/qemu-8.2.1
Browse files Browse the repository at this point in the history
CI: Downgrade to qemu-8.2.1
  • Loading branch information
AkihiroSuda committed Sep 21, 2024
2 parents 380fe11 + ec3cf02 commit a04f7c3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ jobs:

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

0 comments on commit a04f7c3

Please sign in to comment.