ci(test): enforce QEMU 9.0.2

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2024-09-30 10:45:12 +02:00
parent 38d1dce1ff
commit 8b84506b77
No known key found for this signature in database
GPG Key ID: ADE44D8C9D44FBE4
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