Use apt-get to install Clang on CI
This commit is contained in:
parent
3f5b19b4e7
commit
6bea064aa9
2
.github/workflows/osrm-backend.yml
vendored
2
.github/workflows/osrm-backend.yml
vendored
@ -535,7 +535,7 @@ jobs:
|
|||||||
# we only enable lto for release builds
|
# we only enable lto for release builds
|
||||||
# and therefore don't need to us ld.gold or llvm tools for linking
|
# and therefore don't need to us ld.gold or llvm tools for linking
|
||||||
# for debug builds
|
# for debug builds
|
||||||
if [[ ${BUILD_TYPE} == 'Release' ]]; then
|
if [[ "${CCOMPILER}" = clang-* && ${BUILD_TYPE} == 'Release' ]]; then
|
||||||
${MASON} install binutils 2.27
|
${MASON} install binutils 2.27
|
||||||
echo "$(${MASON} prefix binutils 2.27)/bin" >> $GITHUB_PATH
|
echo "$(${MASON} prefix binutils 2.27)/bin" >> $GITHUB_PATH
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user