@@ -257,33 +257,33 @@ jobs:
257257 path : ${{ steps.pkg.outputs.path }}
258258 if-no-files-found : error
259259
260- package-linux-glibc224 :
261- name : Package (linux-x86_64-glibc224 )
260+ package-linux-glibc228 :
261+ name : Package (linux-x86_64-glibc228 )
262262 needs : [should-package, resolve-matrix]
263263 if : needs.should-package.outputs.run == 'true' && needs.resolve-matrix.outputs.run_linux == 'true'
264- # Checkout/cache on host; build in manylinux_2_24 via docker run (glibc 2.24 baseline, cxx11 ABI ).
264+ # Checkout/cache on host; build in manylinux_2_28 via docker run (glibc 2.28 baseline).
265265 runs-on : ubuntu-latest
266266 steps :
267267 - uses : actions/checkout@v5
268268 - name : Cache Maven packages
269269 uses : actions/cache@v5
270270 with :
271271 path : ~/.m2
272- key : linux-glibc224 -m2-${{ hashFiles('**/pom.xml') }}
272+ key : linux-glibc228 -m2-${{ hashFiles('**/pom.xml') }}
273273 restore-keys : |
274- linux-glibc224 -m2-
275- - name : Package client-cpp (glibc 2.24 baseline, cxx11 ABI )
274+ linux-glibc228 -m2-
275+ - name : Package client-cpp (glibc 2.28 baseline)
276276 shell : bash
277277 run : |
278278 set -euxo pipefail
279- chmod +x .github/scripts/package-client-cpp-manylinux-glibc224 .sh
279+ chmod +x .github/scripts/package-client-cpp-manylinux-glibc228 .sh
280280 docker run --rm \
281281 -v "${{ github.workspace }}:/workspace" \
282282 -v "${HOME}/.m2:/root/.m2" \
283283 -w /workspace \
284284 -e GITHUB_WORKSPACE=/workspace \
285- quay.io/pypa/manylinux_2_24_x86_64 \
286- bash .github/scripts/package-client-cpp-manylinux-glibc224 .sh
285+ quay.io/pypa/manylinux_2_28_x86_64 \
286+ bash .github/scripts/package-client-cpp-manylinux-glibc228 .sh
287287 - name : Restore workspace ownership after container build
288288 if : always()
289289 run : sudo chown -R "$(id -u):$(id -g)" "${{ github.workspace }}"
@@ -293,7 +293,7 @@ jobs:
293293 run : |
294294 set -euo pipefail
295295 shopt -s nullglob
296- zips=(iotdb-client/client-cpp/target/client-cpp-*-linux-x86_64-glibc224 .zip)
296+ zips=(iotdb-client/client-cpp/target/client-cpp-*-linux-x86_64-glibc228 .zip)
297297 if [ "${#zips[@]}" -ne 1 ]; then
298298 echo "Expected exactly one package zip, got: ${zips[*]:-(none)}"
299299 exit 1
@@ -307,33 +307,33 @@ jobs:
307307 path : ${{ steps.pkg.outputs.path }}
308308 if-no-files-found : error
309309
310- package-linux-aarch64-glibc224 :
311- name : Package (linux-aarch64-glibc224 )
310+ package-linux-aarch64-glibc228 :
311+ name : Package (linux-aarch64-glibc228 )
312312 needs : [should-package, resolve-matrix]
313313 if : needs.should-package.outputs.run == 'true' && needs.resolve-matrix.outputs.run_linux == 'true'
314- # Checkout/cache on host; build in manylinux_2_24 aarch64 via docker run.
314+ # Checkout/cache on host; build in manylinux_2_28 aarch64 via docker run.
315315 runs-on : ubuntu-22.04-arm
316316 steps :
317317 - uses : actions/checkout@v5
318318 - name : Cache Maven packages
319319 uses : actions/cache@v5
320320 with :
321321 path : ~/.m2
322- key : linux-aarch64-glibc224 -m2-${{ hashFiles('**/pom.xml') }}
322+ key : linux-aarch64-glibc228 -m2-${{ hashFiles('**/pom.xml') }}
323323 restore-keys : |
324- linux-aarch64-glibc224 -m2-
325- - name : Package client-cpp (glibc 2.24 baseline, cxx11 ABI )
324+ linux-aarch64-glibc228 -m2-
325+ - name : Package client-cpp (glibc 2.28 baseline)
326326 shell : bash
327327 run : |
328328 set -euxo pipefail
329- chmod +x .github/scripts/package-client-cpp-manylinux-glibc224 .sh
329+ chmod +x .github/scripts/package-client-cpp-manylinux-glibc228 .sh
330330 docker run --rm \
331331 -v "${{ github.workspace }}:/workspace" \
332332 -v "${HOME}/.m2:/root/.m2" \
333333 -w /workspace \
334334 -e GITHUB_WORKSPACE=/workspace \
335- quay.io/pypa/manylinux_2_24_aarch64 \
336- bash .github/scripts/package-client-cpp-manylinux-glibc224 .sh
335+ quay.io/pypa/manylinux_2_28_aarch64 \
336+ bash .github/scripts/package-client-cpp-manylinux-glibc228 .sh
337337 - name : Restore workspace ownership after container build
338338 if : always()
339339 run : sudo chown -R "$(id -u):$(id -g)" "${{ github.workspace }}"
@@ -343,7 +343,7 @@ jobs:
343343 run : |
344344 set -euo pipefail
345345 shopt -s nullglob
346- zips=(iotdb-client/client-cpp/target/client-cpp-*-linux-aarch64-glibc224 .zip)
346+ zips=(iotdb-client/client-cpp/target/client-cpp-*-linux-aarch64-glibc228 .zip)
347347 if [ "${#zips[@]}" -ne 1 ]; then
348348 echo "Expected exactly one package zip, got: ${zips[*]:-(none)}"
349349 exit 1
0 commit comments