Use tmpfs for running benchmarks
This commit is contained in:
parent
67b395c6dc
commit
38fc3fa916
28
.github/workflows/osrm-backend.yml
vendored
28
.github/workflows/osrm-backend.yml
vendored
@ -705,25 +705,25 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.base.ref }}
|
ref: ${{ github.event.pull_request.base.ref }}
|
||||||
path: base
|
path: base
|
||||||
- name: Build Base Branch
|
# - name: Build Base Branch
|
||||||
run: |
|
|
||||||
mkdir base/build
|
|
||||||
cd base/build
|
|
||||||
cmake -DENABLE_CONAN=ON -DCMAKE_BUILD_TYPE=Release ..
|
|
||||||
make -j$(nproc)
|
|
||||||
make -j$(nproc) benchmarks
|
|
||||||
cd ..
|
|
||||||
make -C test/data
|
|
||||||
# - name: Build PR Branch
|
|
||||||
# run: |
|
# run: |
|
||||||
# mkdir -p pr/build
|
# mkdir base/build
|
||||||
# cd pr/build
|
# cd base/build
|
||||||
# cmake -DENABLE_CONAN=ON -DCMAKE_BUILD_TYPE=Release ..
|
# cmake -DENABLE_CONAN=ON -DCMAKE_BUILD_TYPE=Release ..
|
||||||
# make -j$(nproc)
|
# make -j$(nproc)
|
||||||
# make -j$(nproc) benchmarks
|
# make -j$(nproc) benchmarks
|
||||||
# cd ..
|
# cd ..
|
||||||
# make -C test/data
|
# make -C test/data
|
||||||
# - run: du -sh base/build pr/build
|
- name: Build PR Branch
|
||||||
|
run: |
|
||||||
|
mkdir -p pr/build
|
||||||
|
cd pr/build
|
||||||
|
cmake -DENABLE_CONAN=ON -DCMAKE_BUILD_TYPE=Release ..
|
||||||
|
make -j$(nproc)
|
||||||
|
make -j$(nproc) benchmarks
|
||||||
|
cd ..
|
||||||
|
make -C test/data
|
||||||
|
# - run: du -sh base/build pr/build
|
||||||
- run: mkdir -p /opt/benchmarks
|
- run: mkdir -p /opt/benchmarks
|
||||||
- name: Run PR Benchmarks
|
- name: Run PR Benchmarks
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user