1313 strategy :
1414 fail-fast : false # Let the other job finish
1515 matrix :
16- os : ["buildjet-4vcpu-ubuntu-2204", "buildjet-8vcpu-ubuntu-2204-arm"]
16+ include :
17+ # Ubuntu 24.04 LTS (Noble)
18+ - os : " buildjet-4vcpu-ubuntu-2404"
19+ ubuntu_version : " noble"
20+ arch : " amd64"
21+ - os : " buildjet-8vcpu-ubuntu-2404-arm"
22+ ubuntu_version : " noble"
23+ arch : " arm64"
24+ # Ubuntu 22.04 LTS (Jammy)
25+ - os : " buildjet-4vcpu-ubuntu-2204"
26+ ubuntu_version : " jammy"
27+ arch : " amd64"
28+ - os : " buildjet-8vcpu-ubuntu-2204-arm"
29+ ubuntu_version : " jammy"
30+ arch : " arm64"
31+ # Ubuntu 20.04 LTS (Focal) - Consider removing after April 2025
32+ - os : " buildjet-4vcpu-ubuntu-2004"
33+ ubuntu_version : " focal"
34+ arch : " amd64"
35+ - os : " buildjet-8vcpu-ubuntu-2004-arm"
36+ ubuntu_version : " focal"
37+ arch : " arm64"
1738 runs-on : ${{ matrix.os }}
1839 steps :
1940 - uses : actions/checkout@v3
@@ -78,12 +99,14 @@ jobs:
7899 postgresql-14 \
79100 postgresql-13 \
80101 postgresql-12 \
102+ postgresql-11 \
81103 postgresql-server-dev-17 \
82104 postgresql-server-dev-16 \
83105 postgresql-server-dev-15 \
84106 postgresql-server-dev-14 \
85107 postgresql-server-dev-13 \
86108 postgresql-server-dev-12 \
109+ postgresql-server-dev-11 \
87110 lsb-release \
88111 python3.10 \
89112 python3-pip \
@@ -106,7 +129,13 @@ jobs:
106129 with :
107130 working-directory : pgml-extension
108131 command : pgrx
109- args : init --pg12=/usr/lib/postgresql/12/bin/pg_config --pg13=/usr/lib/postgresql/13/bin/pg_config --pg14=/usr/lib/postgresql/14/bin/pg_config --pg15=/usr/lib/postgresql/15/bin/pg_config --pg16=/usr/lib/postgresql/16/bin/pg_config --pg17=/usr/lib/postgresql/17/bin/pg_config
132+ args : init --pg11/usr/lib/postgresql/11/bin/pg_config --pg12=/usr/lib/postgresql/12/bin/pg_config --pg13=/usr/lib/postgresql/13/bin/pg_config --pg14=/usr/lib/postgresql/14/bin/pg_config --pg15=/usr/lib/postgresql/15/bin/pg_config --pg16=/usr/lib/postgresql/16/bin/pg_config --pg17=/usr/lib/postgresql/17/bin/pg_config
133+ - name : Build Postgres 11
134+ uses : postgresml/gh-actions-cargo@master
135+ with :
136+ working-directory : pgml-extension
137+ command : pgrx
138+ args : package --pg-config /usr/lib/postgresql/11/bin/pg_config
110139 - name : Build Postgres 12
111140 uses : postgresml/gh-actions-cargo@master
112141 with :
@@ -161,9 +190,30 @@ jobs:
161190 postgresml :
162191 needs : postgresml-pgml
163192 strategy :
164- fail-fast : false # Let the other job finish
193+ fail-fast : false
165194 matrix :
166- os : ["ubuntu-22.04"]
195+ include :
196+ # Ubuntu 24.04 LTS (Noble)
197+ - os : " buildjet-4vcpu-ubuntu-2404"
198+ ubuntu_version : " noble"
199+ arch : " amd64"
200+ - os : " buildjet-8vcpu-ubuntu-2404-arm"
201+ ubuntu_version : " noble"
202+ arch : " arm64"
203+ # Ubuntu 22.04 LTS (Jammy)
204+ - os : " buildjet-4vcpu-ubuntu-2204"
205+ ubuntu_version : " jammy"
206+ arch : " amd64"
207+ - os : " buildjet-8vcpu-ubuntu-2204-arm"
208+ ubuntu_version : " jammy"
209+ arch : " arm64"
210+ # Ubuntu 20.04 LTS (Focal) - Consider removing after April 2025
211+ - os : " buildjet-4vcpu-ubuntu-2004"
212+ ubuntu_version : " focal"
213+ arch : " amd64"
214+ - os : " buildjet-8vcpu-ubuntu-2004-arm"
215+ ubuntu_version : " focal"
216+ arch : " arm64"
167217 runs-on : ${{ matrix.os }}
168218 steps :
169219 - uses : actions/checkout@v3
@@ -180,9 +230,30 @@ jobs:
180230 #
181231 postgresml-dashboard :
182232 strategy :
183- fail-fast : false # Let the other job finish
233+ fail-fast : false
184234 matrix :
185- os : ["ubuntu-22.04", "buildjet-4vcpu-ubuntu-2204-arm"]
235+ include :
236+ # Ubuntu 24.04 LTS (Noble)
237+ - os : " buildjet-4vcpu-ubuntu-2404"
238+ ubuntu_version : " noble"
239+ arch : " amd64"
240+ - os : " buildjet-8vcpu-ubuntu-2404-arm"
241+ ubuntu_version : " noble"
242+ arch : " arm64"
243+ # Ubuntu 22.04 LTS (Jammy)
244+ - os : " buildjet-4vcpu-ubuntu-2204"
245+ ubuntu_version : " jammy"
246+ arch : " amd64"
247+ - os : " buildjet-8vcpu-ubuntu-2204-arm"
248+ ubuntu_version : " jammy"
249+ arch : " arm64"
250+ # Ubuntu 20.04 LTS (Focal) - Consider removing after April 2025
251+ - os : " buildjet-4vcpu-ubuntu-2004"
252+ ubuntu_version : " focal"
253+ arch : " amd64"
254+ - os : " buildjet-8vcpu-ubuntu-2004-arm"
255+ ubuntu_version : " focal"
256+ arch : " arm64"
186257 runs-on : ${{ matrix.os }}
187258 steps :
188259 - uses : actions/checkout@v3
@@ -208,7 +279,9 @@ jobs:
208279 strategy :
209280 fail-fast : false # Let the other job finish
210281 matrix :
211- os : ["buildjet-4vcpu-ubuntu-2204"]
282+ include :
283+ - os : " buildjet-4vcpu-ubuntu-2404"
284+ ubuntu_version : " noble"
212285 runs-on : ${{ matrix.os }}
213286 defaults :
214287 run :
0 commit comments