Simplify CI #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: qemu | |
on: | |
push: | |
branches: | |
- master | |
- 'release/**' | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
integration: | |
name: QEMU integration tests | |
strategy: | |
fail-fast: false | |
matrix: | |
# macos-13-large is used as macos-13 seems too flaky. | |
# macos-14 (ARM) and later cannot be used for the most part of the job | |
# due to the lack of the support for nested virt. | |
platform: | |
- macos-13-large | |
- macos-14-large | |
- macos-15-large | |
runs-on: ${{ matrix.platform }} | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
with: | |
fetch-depth: 1 | |
- name: Show host info | |
run: | | |
uname -a | |
sw_vers | |
ifconfig | |
- name: Build | |
run: | | |
make | |
sudo make install | |
- name: Fetch homebrew-core commit messages | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
with: | |
# needed by ./hack/brew-install-version.sh | |
repository: homebrew/homebrew-core | |
path: homebrew-core | |
fetch-depth: 0 | |
filter: tree:0 | |
- name: Install test dependencies | |
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 | |
./hack/brew-install-version.sh qemu 8.2.1 | |
# Bridged mode cannot be tested on GHA | |
- name: Test (shared mode) | |
run: ./test/test.sh /var/run/socket_vmnet |