diff options
| author | ruki <[email protected]> | 2024-01-07 21:44:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-01-07 21:44:20 +0800 |
| commit | d126302a073c4d75980c23daf370021c40e0da23 (patch) | |
| tree | 3e9f17d6f960f4815609c045432d17022c88f2d1 | |
| parent | 5fb5b232a75e8e2de143952b040c1a85a7ebeec5 (diff) | |
add macos arm64 ci
| -rw-r--r-- | .github/workflows/macos.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 765bf1822..9727ddc01 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -9,7 +9,12 @@ on: jobs: build: - runs-on: macos-latest + strategy: + matrix: + os: [macOS-latest] + arch: [x86_64, arm64] + + runs-on: ${{ matrix.os }} concurrency: group: ${{ github.ref }}-${{ github.base_ref }}-${{ github.head_ref }}-macOS @@ -41,7 +46,6 @@ jobs: - name: Artifact run: | brew install gnu-tar - gem install --no-document fpm cd core xmake pack -y --autobuild=n --basename=xmake -o ../artifacts xmakesrc cd .. |
