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