actions: remove install directories before import

This ensures that any dangling references to the build
or source directory are caught by the CI.
This commit is contained in:
Sarah Hoffmann
2021-02-10 16:35:50 +01:00
parent 0e0e9a6809
commit b6c2dbf69c
2 changed files with 34 additions and 21 deletions

View File

@@ -11,13 +11,14 @@ runs:
- name: Download dependencies
run: |
if [ ! -f data/country_osm_grid.sql.gz ]; then
wget --no-verbose -O data/country_osm_grid.sql.gz https://www.nominatim.org/data/country_grid.sql.gz
if [ ! -f country_grid.sql.gz ]; then
wget --no-verbose https://www.nominatim.org/data/country_grid.sql.gz
fi
cp country_grid.sql.gz Nominatim/data/country_osm_grid.sql.gz
shell: bash
- name: Configure
run: mkdir build && cd build && cmake ..
run: mkdir build && cd build && cmake ../Nominatim
shell: bash
- name: Build