]> git.openstreetmap.org Git - nominatim.git/blob - .github/actions/build-nominatim/action.yml
actions: tweak database settings
[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: wget -O data/country_osm_grid.sql.gz https://www.nominatim.org/data/country_grid.sql.gz
24               shell: bash
25