]> git.openstreetmap.org Git - nominatim.git/blob - .github/actions/build-nominatim/action.yml
move creation of website scripts to setup script
[nominatim.git] / .github / actions / build-nominatim / action.yml
1 name: 'Build Nominatim'
2
3 runs:
4     using: "composite"
5
6     steps:
7         - name: Install prerequisits
8           run: 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
9           shell: bash
10
11         - name: Configure
12           run: mkdir build && cd build && cmake ..
13           shell: bash
14
15         - name: Build
16           run: |
17               make -j2 all
18               ./utils/setup.php --setup-website
19           shell: bash
20           working-directory: build
21
22         - name: Download dependencies
23           run: |
24               if [ ! -f data/country_osm_grid.sql.gz ]; then
25                   wget --no-verbose -O data/country_osm_grid.sql.gz https://www.nominatim.org/data/country_grid.sql.gz
26               fi
27           shell: bash
28