Skip to content

Commit

Permalink
Try to fix PATHs
Browse files Browse the repository at this point in the history
  • Loading branch information
j-woz committed Sep 11, 2024
1 parent 4ca84fb commit d3edef2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions dev/github-actions/setup-conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ esac

# Basic Mac packages:
PKGS_MAC=(
autoconf
automake
coreutils
# To resolve the sed -i problem on Mac
Expand All @@ -50,21 +49,19 @@ case $MATRIX_OS in
PKGS=( zsh )
;;
"macos-13")
# macos-13 already has autoconf, automake
# macos-13 already has autoconf
set -x
ls /usr/local/opt/
PKGS=( ${PKGS_MAC[@]} )
;;
"macos-14")
PKGS=( ${PKGS_MAC[@]}
autoconf
automake
)
;;
"macos-14-arm64")
PKGS=( ${PKGS_MAC[@]}
autoconf
automake
)
;;
*)
Expand Down Expand Up @@ -92,6 +89,8 @@ fi
case $MATRIX_OS in
macos-13)
BINS=(
/usr/local/opt/autoconf/bin
/usr/local/opt/automake/bin
/usr/local/opt/coreutils/libexec/gnubin
/usr/local/opt/gnu-sed/libexec/gnubin
/usr/local/opt/gnu-time/libexec/gnubin
Expand All @@ -102,7 +101,7 @@ case $MATRIX_OS in
/opt/homebrew/opt/coreutils/libexec/gnubin
/opt/homebrew/opt/gnu-sed/libexec/gnubin
/opt/homebrew/opt/gnu-time/libexec/gnubin
/opt/homebrew/opt/bin
/opt/homebrew/bin
)
;;
esac
Expand Down

0 comments on commit d3edef2

Please sign in to comment.