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 }}
|
||||
RUN_BIG_BENCHMARK: ${{ contains(github.event.pull_request.labels.*.name, 'Performance') }}
|
||||
steps:
|
||||
- name: Enable data.osm.pbf cache
|
||||
if: ${{ ! env.RUN_BIG_BENCHMARK }}
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/data.osm.pbf
|
||||
key: v1-data-osm-pbf
|
||||
restore-keys: |
|
||||
v1-data-osm-pbf
|
||||
- name: Enable compiler cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: v2-ccache-benchmarks-${{ github.sha }}
|
||||
restore-keys: |
|
||||
v2-ccache-benchmarks-
|
||||
- name: Enable Conan cache
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/.conan
|
||||
key: v1-conan-benchmarks-${{ github.sha }}
|
||||
restore-keys: |
|
||||
v1-conan-benchmarks-
|
||||
# - name: Enable data.osm.pbf cache
|
||||
# if: ${{ ! env.RUN_BIG_BENCHMARK }}
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: ~/data.osm.pbf
|
||||
# key: v1-data-osm-pbf
|
||||
# restore-keys: |
|
||||
# v1-data-osm-pbf
|
||||
# - name: Enable compiler cache
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: ~/.ccache
|
||||
# key: v2-ccache-benchmarks-${{ github.sha }}
|
||||
# restore-keys: |
|
||||
# v2-ccache-benchmarks-
|
||||
# - name: Enable Conan cache
|
||||
# uses: actions/cache@v4
|
||||
# with:
|
||||
# path: ~/.conan
|
||||
# key: v1-conan-benchmarks-${{ github.sha }}
|
||||
# restore-keys: |
|
||||
# v1-conan-benchmarks-
|
||||
- name: Checkout PR Branch
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
|
@ -40,7 +40,6 @@ function measure_peak_ram_and_time {
|
||||
# on macOS time has different parameters, so simply run command on macOS
|
||||
$COMMAND > /dev/null 2>&1
|
||||
else
|
||||
|
||||
OUTPUT=$(/usr/bin/time -f "%e %M" $COMMAND 2>&1 | tail -n 1)
|
||||
|
||||
TIME=$(echo $OUTPUT | awk '{print $1}')
|
||||
|
Loading…
Reference in New Issue
Block a user