Merge pull request #459 from crazy-max/fix-lima-test-qemu

ci(test): enforce QEMU 9.0.2
This commit is contained in:
CrazyMax 2024-10-04 14:49:26 +02:00 committed by GitHub
commit 19ca9ade20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,17 @@
name: 'Setup QEMU on macOS'
description: 'Set up QEMU on macOS runners'
# FIXME: Remove this composite once QEMU issue is fixed on macOS runners
# https://github.com/docker/actions-toolkit/issues/455
runs:
using: composite
steps:
- run: |
set -ex
brew uninstall --ignore-dependencies qemu || true
brew autoremove || true
curl -o /tmp/qemu.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/f1a9cf104a9a51779c7a532b658c490f69974839/Formula/q/qemu.rb
brew install /tmp/qemu.rb
continue-on-error: true
shell: bash

View File

@ -119,6 +119,10 @@ jobs:
run: |
corepack enable
yarn --version
-
name: Set up QEMU
if: startsWith(matrix.os, 'macos')
uses: ./.github/actions/macos-setup-qemu
-
name: Setup Node
uses: actions/setup-node@v4