mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-23 03:16:09 +08:00
Merge pull request #459 from crazy-max/fix-lima-test-qemu
ci(test): enforce QEMU 9.0.2
This commit is contained in:
commit
19ca9ade20
17
.github/actions/macos-setup-qemu/action.yml
vendored
Normal file
17
.github/actions/macos-setup-qemu/action.yml
vendored
Normal 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
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -119,6 +119,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
corepack enable
|
corepack enable
|
||||||
yarn --version
|
yarn --version
|
||||||
|
-
|
||||||
|
name: Set up QEMU
|
||||||
|
if: startsWith(matrix.os, 'macos')
|
||||||
|
uses: ./.github/actions/macos-setup-qemu
|
||||||
-
|
-
|
||||||
name: Setup Node
|
name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user