Add gps traces to repo
This commit is contained in:
parent
6d49ab818f
commit
77bdb5bc27
13
.github/workflows/osrm-backend.yml
vendored
13
.github/workflows/osrm-backend.yml
vendored
@ -637,6 +637,13 @@ jobs:
|
|||||||
PR_NUMBER: ${{ github.event.pull_request.number }}
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
||||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Enable data.osm.pbf cache
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/data.osm.pbf
|
||||||
|
key: v1-data-osm-pbf
|
||||||
|
restore-keys: |
|
||||||
|
v1-data-osm-pbf
|
||||||
- name: Enable compiler cache
|
- name: Enable compiler cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
@ -662,8 +669,10 @@ 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: |
|
||||||
wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf -O ~/data.osm.pbf
|
if [ ! -f "~/data.osm.pbf" ]; then
|
||||||
python3 ./pr/scripts/ci/download_gps_traces.py 13.3384 52.4383 13.5611 52.5755 > ~/gps_traces.csv
|
wget http://download.geofabrik.de/europe/germany/berlin-latest.osm.pbf -O ~/data.osm.pbf
|
||||||
|
fi
|
||||||
|
gunzip -c ./pr/test/data/berlin_gps_traces.csv.gz > ~/gps_traces.csv
|
||||||
- name: Prepare environment
|
- name: Prepare environment
|
||||||
run: |
|
run: |
|
||||||
echo "CCACHE_DIR=$HOME/.ccache" >> $GITHUB_ENV
|
echo "CCACHE_DIR=$HOME/.ccache" >> $GITHUB_ENV
|
||||||
|
BIN
test/data/berlin_gps_traces.csv.gz
Normal file
BIN
test/data/berlin_gps_traces.csv.gz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user