|
@@ -16,22 +16,38 @@ jobs:
|
|
fail-fast: false
|
|
fail-fast: false
|
|
matrix:
|
|
matrix:
|
|
os:
|
|
os:
|
|
- - "ubuntu-20.04"
|
|
|
|
|
|
+ - "ubuntu-22.04"
|
|
pg:
|
|
pg:
|
|
- - 12
|
|
|
|
|
|
+ - 14
|
|
postgis:
|
|
postgis:
|
|
- - 3
|
|
|
|
|
|
+ - "3"
|
|
otp:
|
|
otp:
|
|
- - "24.0"
|
|
|
|
- - "23.3"
|
|
|
|
- - "22.3"
|
|
|
|
- - "21.3"
|
|
|
|
- - "20.3"
|
|
|
|
|
|
+ - "25.2"
|
|
|
|
+ - "24.3"
|
|
|
|
+ rebar3:
|
|
|
|
+ - "3.20.0"
|
|
include:
|
|
include:
|
|
- - otp: "19.3"
|
|
|
|
- os: "ubuntu-18.04"
|
|
|
|
- pg: 10
|
|
|
|
- postgis: "2.4"
|
|
|
|
|
|
+ - os: "ubuntu-20.04"
|
|
|
|
+ otp: "23.3"
|
|
|
|
+ rebar3: "3.17.0"
|
|
|
|
+ pg: "12"
|
|
|
|
+ postgis: "3"
|
|
|
|
+ - os: "ubuntu-20.04"
|
|
|
|
+ otp: "22.3"
|
|
|
|
+ rebar3: "3.17.0"
|
|
|
|
+ pg: "12"
|
|
|
|
+ postgis: "3"
|
|
|
|
+ - os: "ubuntu-20.04"
|
|
|
|
+ otp: "21.3"
|
|
|
|
+ rebar3: "3.15.2"
|
|
|
|
+ pg: "12"
|
|
|
|
+ postgis: "3"
|
|
|
|
+ - os: "ubuntu-20.04"
|
|
|
|
+ otp: "20.3"
|
|
|
|
+ rebar3: "3.15.2"
|
|
|
|
+ pg: "12"
|
|
|
|
+ postgis: "3"
|
|
|
|
+
|
|
# env:
|
|
# env:
|
|
# PATH: ".:/usr/lib/postgresql/12/bin:$PATH"
|
|
# PATH: ".:/usr/lib/postgresql/12/bin:$PATH"
|
|
env:
|
|
env:
|
|
@@ -42,6 +58,7 @@ jobs:
|
|
- uses: erlef/setup-beam@v1
|
|
- uses: erlef/setup-beam@v1
|
|
with:
|
|
with:
|
|
otp-version: ${{matrix.otp}}
|
|
otp-version: ${{matrix.otp}}
|
|
|
|
+ rebar3-version: ${{ matrix.rebar3 }}
|
|
|
|
|
|
- name: Setup postgresql server with postgis
|
|
- name: Setup postgresql server with postgis
|
|
run: sudo apt install postgresql-${{matrix.pg}} postgresql-contrib-${{matrix.pg}} postgresql-${{matrix.pg}}-postgis-${{matrix.postgis}} postgresql-${{matrix.pg}}-postgis-${{matrix.postgis}}-scripts
|
|
run: sudo apt install postgresql-${{matrix.pg}} postgresql-contrib-${{matrix.pg}} postgresql-${{matrix.pg}}-postgis-${{matrix.postgis}} postgresql-${{matrix.pg}}-postgis-${{matrix.postgis}}-scripts
|