Skip to content

Commit

Permalink
update macos builds
Browse files Browse the repository at this point in the history
  • Loading branch information
admercs committed Mar 8, 2024
1 parent 171320b commit 0327cb7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/test_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
- name: "Update Homebrew and Install Azure CLI"
shell: bash
run: |
brew unlink python@3.11 && brew link --overwrite python@3.11 && brew unlink python@3.10 && brew link --overwrite python@3.10
brew unlink python@3.12 && brew link --overwrite python@3.12
brew unlink python@3.11 && brew link --overwrite python@3.11
brew unlink python@3.10 && brew link --overwrite python@3.10
brew update && brew upgrade
brew install azure-cli
Expand Down
12 changes: 6 additions & 6 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ if [ "$(uname)" = 'Darwin' ]; then
echo 'Installing latest cURL version and configuring Homebrew to use it...'
brew install curl
HOMEBREW_FORCE_BREWED_CURL=1 brew config
tee -a "${HOME}/.bash_profile" << EOM
export HOMEBREW_CURL_PATH='/usr/local/opt/curl/bin/curl'
export PATH="/usr/local/bin:\${PATH}"
export PATH="/usr/local/opt/curl/bin:\${PATH}"
EOM
source "${HOME}/.bash_profile"
#tee -a "${HOME}/.bash_profile" << EOM
export HOMEBREW_CURL_PATH='/usr/local/opt/curl/bin/curl'
export PATH="/usr/local/bin:${PATH}"
export PATH="/usr/local/opt/curl/bin:${PATH}"
#EOM
#source "${HOME}/.bash_profile"
brew install wget coreutils azure-cli "llvm@${CLANG_VERSION}"
else
echo 'Installing dependencies...'
Expand Down

0 comments on commit 0327cb7

Please # to comment.