diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cca76a9f1240..311f6d5f2143 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -215,6 +215,7 @@ jobs: matrix: include: - os: ubuntu-latest + # defaults to x86_64-apple-darwin - os: macos-latest - os: windows-2019 - os: windows-2019 @@ -390,6 +391,9 @@ jobs: os: ubuntu-latest - build: x86_64-macos os: macos-latest + - build: aarch64-macos + os: macos-latest + target: aarch64-apple-darwin - build: x86_64-windows os: windows-latest - build: x86_64-mingw diff --git a/.github/workflows/release-process.yml b/.github/workflows/release-process.yml index d35b6d8402ee..07da0ab9d52d 100644 --- a/.github/workflows/release-process.yml +++ b/.github/workflows/release-process.yml @@ -79,6 +79,9 @@ jobs: PRs to the \`main\` branch to update [RELEASES.md] and then backport these PRs to the [release branch][branch]. + Maintainers should also review that aarch64-apple-darwin builds + are passing via [embark's CI](https://buildkite.com/embark-studios/wasmtime-aarch64-apple-darwin). + Another automated PR will be made in roughly 2 weeks time when for the actual release itself. diff --git a/ci/build-tarballs.sh b/ci/build-tarballs.sh index 6fd67d06a83a..491a6d94afcb 100755 --- a/ci/build-tarballs.sh +++ b/ci/build-tarballs.sh @@ -59,6 +59,10 @@ elif [ "$platform" = "x86_64-macos" ]; then install_name_tool -id "@rpath/libwasmtime.dylib" target/release/libwasmtime.dylib cp target/release/wasmtime tmp/$bin_pkgname cp target/release/libwasmtime.{a,dylib} tmp/$api_pkgname/lib +elif [ "$platform" = "aarch64-macos" ]; then + install_name_tool -id "@rpath/libwasmtime.dylib" target/aarch64-apple-darwin/release/libwasmtime.dylib + cp target/aarch64-apple-darwin/release/wasmtime tmp/$bin_pkgname + cp target/aarch64-apple-darwin/release/libwasmtime.{a,dylib} tmp/$api_pkgname/lib elif [ "$target" = "" ]; then cp target/release/wasmtime tmp/$bin_pkgname cp target/release/libwasmtime.{a,so} tmp/$api_pkgname/lib