Try to add NodeJs based benchmarks
This commit is contained in:
parent
7ad6ccfce7
commit
d3217ad32a
7
.github/workflows/osrm-backend.yml
vendored
7
.github/workflows/osrm-backend.yml
vendored
@ -672,6 +672,11 @@ jobs:
|
|||||||
key: v1-data-osm-pbf
|
key: v1-data-osm-pbf
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
v1-data-osm-pbf
|
v1-data-osm-pbf
|
||||||
|
- name: Use Node 20
|
||||||
|
if: ${{ matrix.NODE_PACKAGE_TESTS_ONLY == 'ON' }}
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
- name: Enable compiler cache
|
- name: Enable compiler cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
@ -722,6 +727,7 @@ jobs:
|
|||||||
path: base
|
path: base
|
||||||
- name: Build Base Branch
|
- name: Build Base Branch
|
||||||
run: |
|
run: |
|
||||||
|
npm ci --ignore-scripts
|
||||||
mkdir base/build
|
mkdir base/build
|
||||||
cd base/build
|
cd base/build
|
||||||
cmake -DENABLE_CONAN=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_NODE_BINDINGS=ON ..
|
cmake -DENABLE_CONAN=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_NODE_BINDINGS=ON ..
|
||||||
@ -731,6 +737,7 @@ jobs:
|
|||||||
make -C test/data
|
make -C test/data
|
||||||
- name: Build PR Branch
|
- name: Build PR Branch
|
||||||
run: |
|
run: |
|
||||||
|
npm ci --ignore-scripts
|
||||||
mkdir -p pr/build
|
mkdir -p pr/build
|
||||||
cd pr/build
|
cd pr/build
|
||||||
cmake -DENABLE_CONAN=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_NODE_BINDINGS=ON ..
|
cmake -DENABLE_CONAN=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_NODE_BINDINGS=ON ..
|
||||||
|
Loading…
Reference in New Issue
Block a user