From 3d6d671556d8f080ce3406ac66f6eed77554fbff Mon Sep 17 00:00:00 2001 From: Siarhei Fedartsou Date: Sat, 22 Jun 2024 18:18:04 +0200 Subject: [PATCH] Use tmpfs for running benchmarks --- .github/workflows/osrm-backend.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/osrm-backend.yml b/.github/workflows/osrm-backend.yml index f5839704d..c153f2b9a 100644 --- a/.github/workflows/osrm-backend.yml +++ b/.github/workflows/osrm-backend.yml @@ -743,6 +743,11 @@ jobs: mkdir -p /opt/benchmarks/test cp -rf base/test/data /opt/benchmarks/test/data cp -rf base/profiles /opt/benchmarks/profiles + + # TODO: remove it when base branch will have this file at needed location + if [ ! -f /opt/benchmarks/test/data/portugal_to_korea.json ]; then + cp base/src/benchmarks/portugal_to_korea.json /opt/benchmarks/test/data/portugal_to_korea.json + fi ls -R /opt/benchmarks # we intentionally use scripts from PR branch to be able to update them and see results in the same PR ./pr/scripts/ci/run_benchmarks.sh -f /opt/benchmarks -r $(pwd)/base_results -s $(pwd)/pr -b /opt/benchmarks/build -o ~/data.osm.pbf -g ~/gps_traces.csv