From eaa3827a40397f04c7b2e28b5893f7863bb8fc0f Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Sun, 9 Feb 2025 23:07:50 +0800 Subject: [PATCH] add ARM builds --- .github/workflows/publish.yml | 5 ++++- .github/workflows/tests.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2109d2c..d900664 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,8 +5,11 @@ on: - labeled jobs: pr-pull: + strategy: + matrix: + os: [macos-13, macos-14] if: contains(github.event.pull_request.labels.*.name, 'pr-pull') - runs-on: macos-13 + runs-on: ${{ matrix.os }} steps: - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@master diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d4720b2..419c44b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -5,7 +5,10 @@ on: pull_request: jobs: test-bot: - runs-on: macos-13 + strategy: + matrix: + os: [macos-13, macos-14] + runs-on: ${{ matrix.os }} steps: - name: Set up Homebrew id: set-up-homebrew