File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -162,14 +162,19 @@ 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+ env | grep -iF CMAKE_
166+ echo "HOMEBREW_PREFIX=$HOMEBREW_PREFIX"
167+ echo "HOMEBREW_CELLAR=$HOMEBREW_CELLAR"
168+ brew install cmake boost sdl2 sdl2_mixer gettext miniupnpc lua
169+ echo "Homebrew software: $(ls "$HOMEBREW_PREFIX"/* "$HOMEBREW_PREFIX"/include/*)"
170+ echo "Available Boost installs: $(ls "$HOMEBREW_CELLAR/boost/")"
168171 # Use the latest (last folder)
169- BOOST_ROOT=$(find /usr/local/Cellar/boost/* -maxdepth 0 -type d | tail -n1)
170- [[ -n "$BOOST_ROOT" ]]
172+ BOOST_ROOT=$(find "$HOMEBREW_CELLAR/boost/"* -maxdepth 0 -type d | tail -n1)
171173 echo "Choosen Boost: $BOOST_ROOT"
174+ [[ -n "$BOOST_ROOT" ]] || exit 1
172175 echo "BOOST_ROOT=${BOOST_ROOT}" >> $GITHUB_ENV
176+
177+ echo "ADDITIONAL_CMAKE_FLAGS=${ADDITIONAL_CMAKE_FLAGS} --debug-find" >> $GITHUB_ENV
173178 else
174179 compiler=${{matrix.compiler}}
175180 compiler=${compiler/gcc-/g++-}
You can’t perform that action at this time.
0 commit comments