Skip to content

Commit 0710a1b

Browse files
committed
Try to activate PostGIS 3 support with PostgreSQL 16
1 parent d09d45f commit 0710a1b

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

.github/scripts/postgresql_postgis.sh

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,7 @@
33
set -e
44

55
curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg >/dev/null
6-
7-
if [[ $POSTGRESQL_VERSION == *12* ]];
8-
then
9-
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main $POSTGRESQL_VERSION" |sudo tee /etc/apt/sources.list.d/pgdg.list
10-
echo "Using main repo"
11-
else
12-
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg-snapshot main $POSTGRESQL_VERSION" |sudo tee /etc/apt/sources.list.d/pgdg.list
13-
echo "Using snapshot report for$POSTGRESQL_VERSION"
14-
fi
6+
echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main $POSTGRESQL_VERSION" |sudo tee /etc/apt/sources.list.d/pgdg.list
157

168
# RAISE priority of pgdg
179
cat << EOF >> ./pgdg.pref

.github/workflows/jammy_postgres16.yml renamed to .github/workflows/jammy_postgres16_postgis33.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "[ubuntu-22.04] PostgreSQL 16"
1+
name: "[ubuntu-22.04] PostgreSQL 16 and PostGIS 3.3"
22

33
on:
44
push:
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install PostgreSQL
1818
env:
1919
POSTGRESQL_VERSION: 16
20-
# POSTGIS_VERSION: 3
20+
POSTGIS_VERSION: 3
2121
run: .github/scripts/postgresql_postgis.sh
2222
- name: Install and check PgPointCloud
2323
run: .github/scripts/pgpointcloud.sh

0 commit comments

Comments
 (0)