Add m1 to build matrix and release (#3983)
* Add m1 to release process This will create a pre-compiled binary for m1 macs and adds a link to review embark studios CI for verification. * remove test for macos arm Tests will not succeed for macos arm until GitHub provides a an m1 hosted runner. Co-authored-by: Bailey Hayes <bhayes@singlestore.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user