1 name: 'Build Nominatim'
5 description: 'Version of Ubuntu to install on'
9 description: 'Additional options to hand to cmake'
17 - name: Install prerequisites
19 sudo apt-get install -y -qq libboost-system-dev libboost-filesystem-dev libexpat1-dev zlib1g-dev libbz2-dev libpq-dev libproj-dev libicu-dev
20 if [ "x$UBUNTUVER" == "x18" ]; then
21 pip3 install python-dotenv psycopg2==2.7.7 jinja2==2.8 psutil==5.4.2 pyicu osmium PyYAML==5.1 datrie
23 sudo apt-get install -y -qq python3-icu python3-datrie python3-pyosmium python3-jinja2 python3-psutil python3-psycopg2 python3-dotenv python3-yaml
27 UBUNTUVER: ${{ inputs.ubuntu }}
28 CMAKE_ARGS: ${{ inputs.cmake-args }}
31 run: mkdir build && cd build && cmake $CMAKE_ARGS ../Nominatim
34 CMAKE_ARGS: ${{ inputs.cmake-args }}
41 working-directory: build