wip
This commit is contained in:
parent
70e7568214
commit
8f4c222309
34
.github/workflows/osrm-backend.yml
vendored
34
.github/workflows/osrm-backend.yml
vendored
@ -61,33 +61,17 @@ jobs:
|
||||
# cd build
|
||||
# cmake --build . --config Release --target tests
|
||||
# # TODO: run tests
|
||||
- name: Debig
|
||||
shell: bash
|
||||
run:
|
||||
ls -R build
|
||||
- name: Run node tests
|
||||
shell: bash
|
||||
run: |
|
||||
# prepare data
|
||||
# pushd build
|
||||
# cp ../test/data/monaco.osm.pbf .
|
||||
# Release/osrm-extract.exe -p ../profiles/car.lua monaco.osm.pbf
|
||||
# - name: Run node tests
|
||||
# shell: bash
|
||||
# run: |
|
||||
# ./lib/binding/osrm-extract.exe -p profiles/car.lua test/data/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-extract.exe --help
|
||||
|
||||
./lib/binding/osrm-extract.exe -p profiles/car.lua test/data/monaco.osm.pbf
|
||||
# mkdir -p test/data/ch
|
||||
# cp test/data/monaco.osrm* test/data/ch/
|
||||
# ./lib/binding/osrm-contract.exe test/data/ch/monaco.osrm
|
||||
|
||||
mkdir -p test/data/ch
|
||||
cp test/data/monaco.osrm* test/data/ch/
|
||||
./lib/binding/osrm-contract.exe test/data/ch/monaco.osrm
|
||||
|
||||
./lib/binding/osrm-datastore.exe test/data/ch/monaco.osrm
|
||||
node test/nodejs/index.js
|
||||
# ./lib/binding/osrm-datastore.exe test/data/ch/monaco.osrm
|
||||
# node test/nodejs/index.js
|
||||
- name: Build Node package
|
||||
shell: bash
|
||||
run: ./scripts/ci/node_package.sh
|
||||
|
@ -169,12 +169,8 @@ try
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
std::cerr << "DEBUG" << std::endl;
|
||||
|
||||
util::LogPolicy::GetInstance().SetLevel(verbosity);
|
||||
|
||||
std::cerr << "DEBUG 2" << std::endl;
|
||||
|
||||
|
||||
extractor_config.UseDefaultOutputNames(extractor_config.input_path);
|
||||
|
||||
@ -197,10 +193,8 @@ try
|
||||
<< " not found!";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
std::cerr << "DEBUG 3" << std::endl;
|
||||
|
||||
osrm::extract(extractor_config);
|
||||
std::cerr << "DEBUG 4" << std::endl;
|
||||
|
||||
util::DumpMemoryStats();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user