ci: Add locales to the Debian and Fedora base images

Offer jobs a UTF-8 and a Latin-1 locale.
This commit is contained in:
Brad King
2026-02-08 15:20:06 -05:00
parent bac8aa3df9
commit 3a68a0c75c
7 changed files with 21 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
locales
# Install build requirements.
libssl-dev

View File

@@ -3,3 +3,7 @@
set -e
apt-get install -y $(grep '^[^#]\+$' /root/deps_packages.lst)
# Add locales.
sed -i -E '/^# en_US[ .](ISO-8859-1|UTF-8)( |$)/ s/^# //' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales

View File

@@ -1,3 +1,5 @@
locales
# Install build requirements.
libssl-dev

View File

@@ -4,6 +4,10 @@ set -e
apt-get install -y $(grep '^[^#]\+$' /root/deps_packages.lst)
# Add locales.
sed -i -E '/^# en_US[ .](ISO-8859-1|UTF-8)( |$)/ s/^# //' /etc/locale.gen
dpkg-reconfigure --frontend=noninteractive locales
curl -L -O https://github.com/IronLanguages/ironpython3/releases/download/v3.4.0/ironpython_3.4.0.deb
echo '7dcd10b7a0ec0342bd7e20eebb597a96bb15267eb797d59358a3b1cfaa3e1adc ironpython_3.4.0.deb' > ironpython.sha256sum
sha256sum --check ironpython.sha256sum

View File

@@ -1,3 +1,5 @@
glibc-locale-source
# Install build requirements.
ncurses-devel
openssl-devel

View File

@@ -4,6 +4,10 @@ set -e
dnf install -y $(grep '^[^#]\+$' /root/deps_packages.lst)
# Add locales.
localedef --no-archive --inputfile=en_US --charmap=ISO-8859-1 en_US.ISO-8859-1
localedef --no-archive --inputfile=en_US --charmap=UTF-8 en_US.UTF-8
# Remove tests for Python packages
for v in 3.14; do
find /usr/lib64/python${v}/site-packages -type d -a -name tests -exec rm -rf {} +

View File

@@ -58,7 +58,7 @@
### Debian
.debian13:
image: "kitware/cmake:ci-debian13-x86_64-2025-11-11"
image: "kitware/cmake:ci-debian13-x86_64-2026-02-08"
variables:
GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
@@ -73,7 +73,7 @@
CMAKE_CI_NO_INSTALL: 1
.debian13_aarch64:
image: "kitware/cmake:ci-debian13-aarch64-2025-11-11"
image: "kitware/cmake:ci-debian13-aarch64-2026-02-08"
variables:
GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci"
@@ -82,7 +82,7 @@
### Fedora
.fedora43:
image: "kitware/cmake:ci-fedora43-x86_64-2026-01-27"
image: "kitware/cmake:ci-fedora43-x86_64-2026-02-08"
variables:
GIT_CLONE_PATH: "$CI_BUILDS_DIR/cmake ci/long file name for testing purposes"