Try self-hosted runner yet another time
This commit is contained in:
parent
46b399b89b
commit
e7ad192932
44
.github/workflows/osrm-backend.yml
vendored
44
.github/workflows/osrm-backend.yml
vendored
@ -648,28 +648,28 @@ jobs:
|
|||||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||||
RUN_BIG_BENCHMARK: ${{ contains(github.event.pull_request.labels.*.name, 'Performance') }}
|
RUN_BIG_BENCHMARK: ${{ contains(github.event.pull_request.labels.*.name, 'Performance') }}
|
||||||
steps:
|
steps:
|
||||||
- name: Enable data.osm.pbf cache
|
# - name: Enable data.osm.pbf cache
|
||||||
if: ${{ ! env.RUN_BIG_BENCHMARK }}
|
# if: ${{ ! env.RUN_BIG_BENCHMARK }}
|
||||||
uses: actions/cache@v4
|
# uses: actions/cache@v4
|
||||||
with:
|
# with:
|
||||||
path: ~/data.osm.pbf
|
# path: ~/data.osm.pbf
|
||||||
key: v1-data-osm-pbf
|
# key: v1-data-osm-pbf
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
v1-data-osm-pbf
|
# v1-data-osm-pbf
|
||||||
- name: Enable compiler cache
|
# - name: Enable compiler cache
|
||||||
uses: actions/cache@v4
|
# uses: actions/cache@v4
|
||||||
with:
|
# with:
|
||||||
path: ~/.ccache
|
# path: ~/.ccache
|
||||||
key: v2-ccache-benchmarks-${{ github.sha }}
|
# key: v2-ccache-benchmarks-${{ github.sha }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
v2-ccache-benchmarks-
|
# v2-ccache-benchmarks-
|
||||||
- name: Enable Conan cache
|
# - name: Enable Conan cache
|
||||||
uses: actions/cache@v4
|
# uses: actions/cache@v4
|
||||||
with:
|
# with:
|
||||||
path: ~/.conan
|
# path: ~/.conan
|
||||||
key: v1-conan-benchmarks-${{ github.sha }}
|
# key: v1-conan-benchmarks-${{ github.sha }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
v1-conan-benchmarks-
|
# v1-conan-benchmarks-
|
||||||
- name: Checkout PR Branch
|
- name: Checkout PR Branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
|
@ -40,7 +40,6 @@ function measure_peak_ram_and_time {
|
|||||||
# on macOS time has different parameters, so simply run command on macOS
|
# on macOS time has different parameters, so simply run command on macOS
|
||||||
$COMMAND > /dev/null 2>&1
|
$COMMAND > /dev/null 2>&1
|
||||||
else
|
else
|
||||||
|
|
||||||
OUTPUT=$(/usr/bin/time -f "%e %M" $COMMAND 2>&1 | tail -n 1)
|
OUTPUT=$(/usr/bin/time -f "%e %M" $COMMAND 2>&1 | tail -n 1)
|
||||||
|
|
||||||
TIME=$(echo $OUTPUT | awk '{print $1}')
|
TIME=$(echo $OUTPUT | awk '{print $1}')
|
||||||
|
Loading…
Reference in New Issue
Block a user