Fix macos CI builds
This commit is contained in:
parent
36bfa325bf
commit
76c28a9301
5
.github/workflows/osrm-backend.yml
vendored
5
.github/workflows/osrm-backend.yml
vendored
@ -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: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user