]> git.openstreetmap.org Git - nominatim.git/blobdiff - .github/actions/build-nominatim/action.yml
actions: test import with installed version of Nominatim
[nominatim.git] / .github / actions / build-nominatim / action.yml
index 3cd826afea660007359ab8add33132e2ba554389..f65bd3ea51bab6dc0d2eeeb8f40b0b539eb99841 100644 (file)
@@ -9,6 +9,13 @@ runs:
             sudo apt-get install -y -qq libboost-system-dev libboost-filesystem-dev libexpat1-dev zlib1g-dev libbz2-dev libpq-dev libproj-dev python3-psycopg2 python3-pyosmium python3-dotenv
           shell: bash
 
+        - 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
+              fi
+          shell: bash
+
         - name: Configure
           run: mkdir build && cd build && cmake ..
           shell: bash
@@ -16,14 +23,6 @@ runs:
         - name: Build
           run: |
               make -j2 all
-              ./nominatim refresh --website
+              sudo make install
           shell: bash
           working-directory: build
-
-        - 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
-              fi
-          shell: bash
-