Fix macos CI builds

This commit is contained in:
Michael Bell 2024-03-14 21:59:12 +00:00
parent 36bfa325bf
commit 76c28a9301

View File

@ -462,6 +462,11 @@ jobs:
fi fi
echo "CC=${CCOMPILER}" >> $GITHUB_ENV echo "CC=${CCOMPILER}" >> $GITHUB_ENV
echo "CXX=${CXXCOMPILER}" >> $GITHUB_ENV echo "CXX=${CXXCOMPILER}" >> $GITHUB_ENV
if [[ "${RUNNER_OS}" == "macOS" ]]; then
# missing from GCC path, needed for conan builds of libiconv for example.
sudo xcode-select --switch /Library/Developer/CommandLineTools
echo "LIBRARY_PATH=${LIBRARY_PATH}:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" >> $GITHUB_ENV
fi
- name: Build and install OSRM - name: Build and install OSRM
run: | run: |