.github/build: Update macOS runner, add aarch64-darwin
The new hosted GitHub runners are Apple Silicon-based only, and we build x86_64-darwin packages via Rosetta 2.
This commit is contained in:
parent
2c95c1766a
commit
998f92d869
1 changed files with 6 additions and 2 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
@ -13,7 +13,11 @@ jobs:
|
|||
image: ubuntu-latest
|
||||
system: aarch64-linux
|
||||
- label: x86_64-darwin
|
||||
image: macos-12
|
||||
image: macos-latest
|
||||
system: x86_64-darwin
|
||||
- label: aarch64-darwin
|
||||
image: macos-latest
|
||||
system: aarch64-darwin
|
||||
|
||||
name: ${{ matrix.label }}
|
||||
runs-on: ${{ matrix.image }}
|
||||
|
@ -25,7 +29,7 @@ jobs:
|
|||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2.1.0
|
||||
if: matrix.system != ''
|
||||
if: matrix.system == 'aarch64-linux'
|
||||
|
||||
- name: Generate System Flags
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue