forked from hans/Nominatim
github actions: need dotenv
This commit is contained in:
3
.github/actions/build-nominatim/action.yml
vendored
3
.github/actions/build-nominatim/action.yml
vendored
@@ -5,7 +5,8 @@ runs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install prerequisits
|
- name: Install prerequisits
|
||||||
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
|
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 php-symfony-dotenv
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
|
|||||||
11
.github/workflows/ci-tests.yml
vendored
11
.github/workflows/ci-tests.yml
vendored
@@ -35,8 +35,8 @@ jobs:
|
|||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
data/country_osm_grid.sql.gz
|
{{ github.workspace }}/data/country_osm_grid.sql.gz
|
||||||
monaco-latest.osm.pbf
|
{{ github.workspace }}/monaco-latest.osm.pbf
|
||||||
key: nominatim-data-${{ steps.get-date.outputs.date }}
|
key: nominatim-data-${{ steps.get-date.outputs.date }}
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-postgresql
|
- uses: ./.github/actions/setup-postgresql
|
||||||
@@ -78,8 +78,8 @@ jobs:
|
|||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
data/country_osm_grid.sql.gz
|
{{ github.workspace }}/data/country_osm_grid.sql.gz
|
||||||
monaco-latest.osm.pbf
|
{{ github.workspace }}/monaco-latest.osm.pbf
|
||||||
key: nominatim-data-${{ steps.get-date.outputs.date }}
|
key: nominatim-data-${{ steps.get-date.outputs.date }}
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-postgresql
|
- uses: ./.github/actions/setup-postgresql
|
||||||
@@ -90,8 +90,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create configuration
|
- name: Create configuration
|
||||||
run: |
|
run: |
|
||||||
echo '<?php' > settings/local.php
|
echo "NOMINATIM_PYOSMIUM_BINARY=/usr/lib/python3-pyosmium/pyosmium-get-changes" >> .env
|
||||||
echo " @define('CONST_Pyosmium_Binary', '/usr/lib/python3-pyosmium/pyosmium-get-changes');" >> settings/local.php
|
|
||||||
working-directory: build
|
working-directory: build
|
||||||
|
|
||||||
- name: Download import data
|
- name: Download import data
|
||||||
|
|||||||
Reference in New Issue
Block a user