This commit is contained in:
Siarhei Fedartsou 2024-06-10 12:33:53 +02:00
parent 13d8eebbca
commit a65c9cbcb1

View File

@ -680,13 +680,14 @@ jobs:
sudo apt-get update -y && sudo apt-get install ccache sudo apt-get update -y && sudo apt-get install ccache
- name: Prepare data - name: Prepare data
run: | run: |
echo "RUN BIG BENCHMARK: $RUN_BIG_BENCHMARK"
if [ "$RUN_BIG_BENCHMARK" = "true" ]; then if [ "$RUN_BIG_BENCHMARK" = "true" ]; then
rm -rf ~/data.osm.pbf rm -rf ~/data.osm.pbf
wget http://download.geofabrik.de/europe/poland-latest.osm.pbf -O ~/data.osm.pbf --quiet wget http://download.geofabrik.de/europe/poland-latest.osm.pbf -O ~/data.osm.pbf --quiet
gunzip -c ./pr/test/data/poland_gps_traces.csv.gz > ~/gps_traces.csv gunzip -c ./pr/test/data/poland_gps_traces.csv.gz > ~/gps_traces.csv
else else
if [ ! -f "~/data.osm.pbf" ]; then if [ ! -f "~/data.osm.pbf" ]; then
wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf -O ~/data.osm.pbf wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf -O ~/data.osm.pbf --quiet
else else
echo "Using cached data.osm.pbf" echo "Using cached data.osm.pbf"
fi fi