Skip to content

Commit

Permalink
Add m1 to release process
Browse files Browse the repository at this point in the history
This will create a pre-compiled binary for m1 macs and adds
a link to review embark studios CI for verification.
  • Loading branch information
Bailey Hayes committed Apr 5, 2022
1 parent 7b5176b commit 7f7bf1e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,10 @@ jobs:
matrix:
include:
- os: ubuntu-latest
# defaults to x86_64-apple-darwin
- os: macos-latest
- os: macos-latest
target: aarch64-apple-darwin
- os: windows-2019
- os: windows-2019
target: x86_64-pc-windows-gnu
Expand Down Expand Up @@ -390,6 +393,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
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion ci/build-tarballs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ elif [ "$platform" = "x86_64-mingw" ]; then
cp target/x86_64-pc-windows-gnu/release/wasmtime.exe tmp/$bin_pkgname
cp target/x86_64-pc-windows-gnu/release/{wasmtime.dll,libwasmtime.a,libwasmtime.dll.a} tmp/$api_pkgname/lib
fmt=zip
elif [ "$platform" = "x86_64-macos" ]; then
elif [ "$platform" = "x86_64-macos" ] || [ "$platform" = "aarch64-macos" ]; then
# Postprocess the macOS dylib a bit to have a more reasonable `LC_ID_DYLIB`
# directive than the default one that comes out of the linker when typically
# doing `cargo build`. For more info see #984
Expand Down

0 comments on commit 7f7bf1e

Please sign in to comment.