From 9dec178459529aaa37188756e910d36c6c435217 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Tue, 5 Nov 2024 01:04:04 +0900 Subject: [PATCH] CI: remove macos-12; add macos-15-large The macos-12 CI is currently down on purpose and will be completely removed by Dec 3, 2024. (actions/runner-images issue 10721) Signed-off-by: Akihiro Suda --- .github/workflows/release.yml | 2 +- .github/workflows/test.yml | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbacec1..d0cf06c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ permissions: contents: read jobs: release: - runs-on: macos-12 + runs-on: macos-15-large # The maximum access is "read" for PRs from public forked repos # https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token permissions: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 189e92b..37be3d6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,11 +14,12 @@ jobs: integration: name: Integration tests strategy: + fail-fast: false matrix: # macos-13-large is used as macos-13 seems too flaky. - # macos-14 (ARM) cannot be used for the most part of the job + # macos-{14, 15, ...} (ARM) cannot be used for the most part of the job # due to the lack of the support for nested virt. - platform: [macos-12, macos-13-large] + platform: [macos-13-large, macos-14-large, macos-15-large] runs-on: ${{ matrix.platform }} timeout-minutes: 40 steps: @@ -30,6 +31,13 @@ jobs: uname -a sw_vers ifconfig + # FIXME: do not completely disable firewall + - name: Disable firewall + run: | + set -eux + sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode off + sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off + sudo defaults write /Library/Preferences/com.apple.alf globalstate -bool false - name: Make Install (x86_64) run: | # compile for x86_64