Add MacOS arm64 build

This solves https://github.com/WebAssembly/wasi-sdk/issues/236.
pull/411/head
Ayke van Laethem 1 year ago
parent 5bde500a86
commit 233e55ede8
No known key found for this signature in database
GPG Key ID: E97FF5335DFDFDED

@ -18,7 +18,8 @@ jobs:
matrix:
os:
- ubuntu-latest
- macos-latest
- macos-latest # amd64
- macos-14 # arm64
steps:
- uses: actions/cache@v4
with:
@ -34,10 +35,10 @@ jobs:
- uses: actions/cache@v4
with:
path: ~/Library/Caches/ccache
key: 0-cache-macos-latest-${{ github.run_id }}
key: 0-cache-${{ matrix.os }}-${{ github.run_id }}
restore-keys: |
0-cache-macos-latest
if: matrix.os == 'macos-latest'
0-cache-${{ matrix.os }}
if: startsWith(matrix.os, 'macos')
- name: Setup `wasmtime` for tests
uses: bytecodealliance/actions/wasmtime/setup@v1
with:
@ -53,7 +54,7 @@ jobs:
- run: git submodule update --init --depth 32 --jobs 3
- name: Install ccache, ninja (macOS)
run: brew install ccache ninja
if: matrix.os == 'macos-latest'
if: startsWith(matrix.os, 'macos')
- name: Install ccache, ninja (Linux)
run: sudo apt install ccache ninja-build
if: matrix.os == 'ubuntu-latest'

Loading…
Cancel
Save