@@ -34,22 +34,18 @@ jobs:
3434 with :
3535 fetch-depth : 0
3636
37- - name : Get postgres version
38- run : |
39- sudo service postgresql start
40- PGVER=$(psql --version | grep -Po '(?<=psql \(PostgreSQL\) )[^;]+(?=\.\d+ \()')
41- PROJECT_VERSION=$(grep -Po '(?<=project\(PGROUTING VERSION )[^;]+' CMakeLists.txt)
42- echo "PGVER=${PGVER}" >> $GITHUB_ENV
43- echo "PGPORT=5432" >> $GITHUB_ENV
44- echo "PGIS=3" >> $GITHUB_ENV
45- echo "PROJECT_VERSION=${PROJECT_VERSION}" >> $GITHUB_ENV
46-
4737 - name : Extract branch name and commit hash
4838 run : |
4939 branch=${GITHUB_REF#refs/heads/}
5040 git_hash=$(git rev-parse --short "$GITHUB_SHA")
5141 echo "GIT_HASH=$git_hash" >> $GITHUB_ENV
5242
43+ - name : Get postgres version
44+ run : |
45+ sudo service postgresql start
46+ pgver=$(psql --version | grep -Po '(?<=psql \(PostgreSQL\) )[^;]+(?=\.\d+ \()')
47+ echo "PGVER=${pgver}" >> $GITHUB_ENV
48+
5349 - name : Add PostgreSQL APT repository
5450 run : |
5551 sudo apt-get install curl ca-certificates gnupg
@@ -67,18 +63,12 @@ jobs:
6763 sudo apt-get update
6864 sudo apt-get install -y \
6965 libboost-graph-dev \
66+ python3-sphinx \
67+ python3-sphinx-bootstrap-theme \
68+ sphinx-intl \
7069 postgresql-${PGVER} \
71- postgresql-${PGVER}-postgis-${PGIS} \
72- postgresql-${PGVER}-postgis-${PGIS}-scripts \
7370 postgresql-server-dev-${PGVER} \
74- graphviz \
75- doxygen
76- python -m pip install --upgrade pip
77- pip install Sphinx
78- pip install sphinx-bootstrap-theme
79- pip install sphinx-intl[transifex]
80- pip install sphinx-collapse
81- pip list
71+ graphviz
8272
8373 - name : Initialize mandatory git config
8474 run : |
8777
8878 - name : Update locale
8979 run : |
90- bash tools/transifex /update_locale.sh
80+ bash .github/scripts /update_locale.sh
9181
9282 # Add the files, commit and push
9383 git diff --staged --quiet || git commit -m "Update locale: commit ${{ env.GIT_HASH }}"
0 commit comments