File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -162,13 +162,14 @@ jobs:
162162 - name : Install system packages
163163 run : |
164164 if [[ "${{runner.os}}" =~ macOS ]]; then
165- brew install cmake boost sdl2 sdl2_mixer gettext miniupnpc libiconv lua
166- echo /usr/local/opt/gettext/bin >> $GITHUB_PATH
167- echo "Available Boost installs: $(ls /usr/local/Cellar/boost/)"
165+ echo "HOMEBREW_PREFIX=$HOMEBREW_PREFIX"
166+ echo "HOMEBREW_CELLAR=$HOMEBREW_CELLAR"
167+ brew install cmake boost sdl2 sdl2_mixer gettext miniupnpc lua
168+ echo "Available Boost installs: $(ls "$HOMEBREW_CELLAR/boost/")"
168169 # Use the latest (last folder)
169- BOOST_ROOT=$(find /usr/local/Cellar/boost/* -maxdepth 0 -type d | tail -n1)
170- [[ -n "$BOOST_ROOT" ]]
170+ BOOST_ROOT=$(find "$HOMEBREW_CELLAR/boost/"* -maxdepth 0 -type d | tail -n1)
171171 echo "Choosen Boost: $BOOST_ROOT"
172+ [[ -n "$BOOST_ROOT" ]] || exit 1
172173 echo "BOOST_ROOT=${BOOST_ROOT}" >> $GITHUB_ENV
173174 else
174175 compiler=${{matrix.compiler}}
You can’t perform that action at this time.
0 commit comments