1 name: 'Build Nominatim'
5 description: 'Version of Ubuntu to install on'
13 - name: Install prerequisites
15 sudo apt-get install -y -qq libboost-system-dev libboost-filesystem-dev libexpat1-dev zlib1g-dev libbz2-dev libpq-dev libproj-dev libicu-dev
16 if [ "x$UBUNTUVER" == "x18" ]; then
17 pip3 install python-dotenv psycopg2==2.7.7 jinja2==2.8 psutil==5.4.2 pyicu osmium
19 sudo apt-get install -y -qq python3-icu python3-datrie python3-pyosmium python3-jinja2 python3-psutil python3-psycopg2 python3-dotenv
23 UBUNTUVER: ${{ inputs.ubuntu }}
25 - name: Download dependencies
27 if [ ! -f country_grid.sql.gz ]; then
28 wget --no-verbose https://www.nominatim.org/data/country_grid.sql.gz
30 cp country_grid.sql.gz Nominatim/data/country_osm_grid.sql.gz
34 run: mkdir build && cd build && cmake ../Nominatim
42 working-directory: build