@@ -166,7 +166,7 @@ jobs:
166166 docker stop osrm-container
167167
168168 build-test-publish :
169- # needs: format-taginfo-docs
169+ needs : format-taginfo-docs
170170 strategy :
171171 matrix :
172172 include :
@@ -519,13 +519,12 @@ jobs:
519519 echo "Using ${JOBS} jobs"
520520 pushd ${OSRM_BUILD_DIR}
521521
522- python3 -m venv .venv
523-
524- source .venv/bin/activate
525-
526- python3 -m pip install conan==2.7.1
527-
528- conan profile detect --force
522+ if [[ "${ENABLE_CONAN}" == "ON" ]]; then
523+ python3 -m venv .venv
524+ source .venv/bin/activate
525+ python3 -m pip install conan==2.7.1
526+ conan profile detect --force
527+ fi
529528
530529 ccache --zero-stats
531530 cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
@@ -566,9 +565,11 @@ jobs:
566565 run : |
567566 make -C test/data benchmark
568567
569- # # macOS SIP strips the linker path. Reset this inside the running shell
570- # export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}
571- # ./example/build/osrm-example test/data/mld/monaco.osrm
568+ # macOS SIP strips the linker path. Reset this inside the running shell
569+ if [[ "${ENABLE_CONAN}" == "OFF" ]]; then
570+ export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}
571+ ./example/build/osrm-example test/data/mld/monaco.osrm
572+ fi
572573
573574 # All tests assume to be run from the build directory
574575 pushd ${OSRM_BUILD_DIR}
0 commit comments