+ env:
+ OS: ${{ matrix.name }}
+ INSTALL_MODE: ${{ matrix.install_mode }}
+
+ - uses: actions/download-artifact@v2
+ with:
+ name: full-source
+ path: /home/nominatim
+
+ - name: Install Nominatim
+ run: |
+ export USERNAME=nominatim
+ export USERHOME=/home/nominatim
+ export NOSYSTEMD=yes
+ export HAVE_SELINUX=no
+ tar xf nominatim-src.tar.bz2
+ . vagrant.sh
+ working-directory: /home/nominatim
+
+ - name: Prepare import environment
+ run: |
+ mv Nominatim/test/testdb/apidb-test-data.pbf test.pbf
+ rm -rf Nominatim
+ mkdir data-env-reverse
+ working-directory: /home/nominatim
+
+ - name: Prepare import environment (CentOS)
+ run: |
+ sudo ln -s /usr/local/bin/nominatim /usr/bin/nominatim
+ echo NOMINATIM_DATABASE_WEBUSER="apache" > nominatim-project/.env
+ cp nominatim-project/.env data-env-reverse/.env
+ working-directory: /home/nominatim
+ if: matrix.flavour == 'centos'