Skip to content

Commit

Permalink
A build test
Browse files Browse the repository at this point in the history
  • Loading branch information
takaxp committed Mar 20, 2024
1 parent 4925c52 commit e32aa70
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-29.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
timeout-minutes: 61
steps:
- name: Checkout repository
- uses: actions/checkout@v4
uses: actions/checkout@v4
- name: Install the Apple certificate and provisioning profile
env:
BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
Expand Down
9 changes: 9 additions & 0 deletions build/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
function setup_homebrew () {
# /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

if [ $(uname -m) = "arm64" ]; then
(echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> ${HOME}/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
else
(echo 'eval "$(/usr/local/bin/brew shellenv)"') >> ${HOME}/.zprofile
eval "$(/usr/local/bin/brew shellenv)"
fi
brew shellenv
}

function install_deps () {
Expand Down

0 comments on commit e32aa70

Please sign in to comment.