wip
This commit is contained in:
parent
f560b93ce1
commit
9a4aaaa2c7
11
.github/workflows/osrm-backend.yml
vendored
11
.github/workflows/osrm-backend.yml
vendored
@ -64,6 +64,17 @@ jobs:
|
|||||||
- name: Run node tests
|
- name: Run node tests
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
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
|
./lib/binding/osrm-datastore.exe test/data/ch/monaco.osrm
|
||||||
node test/nodejs/index.js
|
node test/nodejs/index.js
|
||||||
- name: Build Node package
|
- name: Build Node package
|
||||||
|
@ -89,6 +89,12 @@ else()
|
|||||||
add_definitions(-DOSRM_PROJECT_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
|
add_definitions(-DOSRM_PROJECT_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
|
||||||
endif()
|
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:
|
# these two functions build up custom variables:
|
||||||
# DEPENDENCIES_INCLUDE_DIRS and OSRM_DEFINES
|
# DEPENDENCIES_INCLUDE_DIRS and OSRM_DEFINES
|
||||||
# These variables we want to pass to
|
# These variables we want to pass to
|
||||||
|
Loading…
Reference in New Issue
Block a user