Add benchmarks comparison job
This commit is contained in:
parent
4362a3270f
commit
ba65ced060
7
.github/workflows/osrm-backend.yml
vendored
7
.github/workflows/osrm-backend.yml
vendored
@ -631,7 +631,7 @@ jobs:
|
|||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
path: pr
|
path: pr
|
||||||
- run: python3 -m pip install "conan<2.0.0" "requests==2.31.0"
|
- run: python3 -m pip install "conan<2.0.0" "requests==2.31.0"
|
||||||
- name: Build
|
- name: Build PR Branch
|
||||||
run: |
|
run: |
|
||||||
mkdir -p pr/build
|
mkdir -p pr/build
|
||||||
cd pr/build
|
cd pr/build
|
||||||
@ -640,15 +640,12 @@ jobs:
|
|||||||
make -j$(nproc) benchmarks
|
make -j$(nproc) benchmarks
|
||||||
cd ..
|
cd ..
|
||||||
make -C test/data
|
make -C test/data
|
||||||
- name: Run Benchmark on Master Branch
|
|
||||||
run: |
|
|
||||||
./pr/build/src/benchmarks/match-bench ./pr/test/data/mld/monaco.osrm mld > pr/match.bench
|
|
||||||
- name: Checkout Master Branch
|
- name: Checkout Master Branch
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: master
|
ref: master
|
||||||
path: master
|
path: master
|
||||||
- name: Build
|
- name: Build Master Branch
|
||||||
run: |
|
run: |
|
||||||
mkdir master/build
|
mkdir master/build
|
||||||
cd master/build
|
cd master/build
|
||||||
|
Loading…
Reference in New Issue
Block a user