diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index f880597c0..cff252158 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -64,6 +64,17 @@ jobs: - name: Run node tests shell: bash run: | + # prepare data + pushd build + cp ../test/data/ch/monaco.osm.pbf . + Release\osrm-extract -p ../profiles/car.lua monaco.osm.pbf + + mkdir ch + cp ./monaco.osrm* ch/ + Release\osrm-contract.exe ch/monaco.osrm + cp -rf ch/* ../test/data/ch/ + popd + ./lib/binding/osrm-datastore.exe test/data/ch/monaco.osrm node test/nodejs/index.js - name: Build Node package diff --git a/CMakeLists.txt b/CMakeLists.txt index 1876d6b85..541da1b87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,6 +89,12 @@ else() add_definitions(-DOSRM_PROJECT_DIR="${CMAKE_CURRENT_SOURCE_DIR}") endif() + +if(MSVC) + # make MSVC less verbose + add_compile_options("/p:WarningLevel=0 /clp:NoSummary;NoItemAndPropertyList;ErrorsOnly /p:RunCodeAnalysis=false") +endif() + # these two functions build up custom variables: # DEPENDENCIES_INCLUDE_DIRS and OSRM_DEFINES # These variables we want to pass to