wip
This commit is contained in:
parent
8b80d058af
commit
c8dd0d400a
32
.github/workflows/osrm-backend.yml
vendored
32
.github/workflows/osrm-backend.yml
vendored
@ -361,6 +361,8 @@ jobs:
|
||||
path:
|
||||
/home/runner/.ccache
|
||||
/Users/runner/.ccache
|
||||
~/.config/ccache
|
||||
~/.cache/ccache
|
||||
key: ccache-${{ matrix.name }}-${{ github.sha }}
|
||||
restore-keys: |
|
||||
ccache-${{ matrix.name }}-
|
||||
@ -523,23 +525,23 @@ jobs:
|
||||
cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
||||
make --jobs=${JOBS}
|
||||
popd
|
||||
- name: Run all tests
|
||||
if: ${{ matrix.NODE_PACKAGE_TESTS_ONLY != 'ON' }}
|
||||
run: |
|
||||
make -C test/data benchmark
|
||||
# - name: Run all tests
|
||||
# if: ${{ matrix.NODE_PACKAGE_TESTS_ONLY != 'ON' }}
|
||||
# run: |
|
||||
# make -C test/data benchmark
|
||||
|
||||
# macOS SIP strips the linker path. Reset this inside the running shell
|
||||
export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}
|
||||
./example/build/osrm-example test/data/mld/monaco.osrm
|
||||
# # macOS SIP strips the linker path. Reset this inside the running shell
|
||||
# export LD_LIBRARY_PATH=${{ env.LD_LIBRARY_PATH }}
|
||||
# ./example/build/osrm-example test/data/mld/monaco.osrm
|
||||
|
||||
# All tests assume to be run from the build directory
|
||||
pushd ${OSRM_BUILD_DIR}
|
||||
for i in ./unit_tests/*-tests ; do echo Running $i ; $i ; done
|
||||
if [ -z "${ENABLE_SANITIZER}" ]; then
|
||||
npm run nodejs-tests
|
||||
fi
|
||||
popd
|
||||
npm test
|
||||
# # All tests assume to be run from the build directory
|
||||
# pushd ${OSRM_BUILD_DIR}
|
||||
# for i in ./unit_tests/*-tests ; do echo Running $i ; $i ; done
|
||||
# if [ -z "${ENABLE_SANITIZER}" ]; then
|
||||
# npm run nodejs-tests
|
||||
# fi
|
||||
# popd
|
||||
# npm test
|
||||
|
||||
- name: Use Node 18
|
||||
if: ${{ matrix.NODE_PACKAGE_TESTS_ONLY == 'ON' }}
|
||||
|
Loading…
Reference in New Issue
Block a user