Skip to content

Commit

Permalink
chore(release) fix MacOS releases
Browse files Browse the repository at this point in the history
- New homebrew + python dependencies commands recommended by Homebrew.
- Update Wasmtime asset link to use 'aarch64' instead of 'arm64'.
  • Loading branch information
thibaultcha committed May 2, 2024
1 parent 91d447f commit ca717b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: Release
on:
schedule:
- cron: "0 6 * * mon" # 6am UTC, 11pm PST
#pull_request:
# branches: '**'
pull_request:
branches: '**'
workflow_dispatch:
inputs:
release_version:
Expand Down Expand Up @@ -406,7 +406,9 @@ jobs:
- name: Setup dependencies
run: |
brew install ninja openssh
pip3 install --upgrade setuptools
python3 -m venv .python3_venv
source .python3_venv/bin/activate
python3 -m pip install setuptools
- name: Build binary
run: ./util/release.sh ${{ needs.setup.outputs.release_name }} --bin
env:
Expand Down
4 changes: 4 additions & 0 deletions util/runtimes/wasmtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ download_wasmtime() {
local arch="$3"
local clean="$4"

case "$arch" in
arm64) arch="aarch64" ;;
esac

case $OSTYPE in
linux*) os="linux";;
darwin*) os="macos";;
Expand Down

0 comments on commit ca717b8

Please sign in to comment.