Update osrm-backend.yml

This commit is contained in:
Michael Bell 2024-03-15 07:35:58 +00:00 committed by GitHub
parent bc6cf14e79
commit 38ff187095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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