Skip to content

Commit 3a6d9d6

Browse files
committed
ci: include almalinux in whieel building
1 parent ebca6bf commit 3a6d9d6

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

scripts/build/wheel_linux_before_all.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# This script is designed to be used by cibuildwheel as CIBW_BEFORE_ALL_LINUX
55

66
set -euo pipefail
7-
set -x
87

98
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
109
prjdir="$( cd "${dir}/../.." && pwd )"
@@ -26,16 +25,16 @@ case "$ID" in
2625
# TODO: On 2021-11-09 curl fails on 'ppc64le' with:
2726
# curl: (60) SSL certificate problem: certificate has expired
2827
# Test again later if -k can be removed.
29-
curl -skf https://www.postgresql.org/media/keys/ACCC4CF8.asc \
28+
curl -fsSLk https://www.postgresql.org/media/keys/ACCC4CF8.asc \
3029
> /etc/apt/trusted.gpg.d/postgresql.asc
3130
fi
3231

3332
apt-get update
3433
apt-get -y upgrade
35-
apt-get -y install libpq-dev
34+
apt-get -y install libpq-dev flex
3635
;;
3736

38-
centos|rocky)
37+
centos | rocky | almalinux)
3938
"${dir}/build_libpq.sh" > /dev/null
4039
;;
4140

0 commit comments

Comments
 (0)