CI: Add fedora-42

This ships with gcc 15.1.1 and Python 3.13.3
This commit is contained in:
Arne Welzel 2025-05-08 09:34:25 +02:00
parent 60efc7741d
commit aacc484543
2 changed files with 43 additions and 0 deletions

View file

@ -174,6 +174,13 @@ env:
# Linux EOL timelines: https://linuxlifecycle.com/ # Linux EOL timelines: https://linuxlifecycle.com/
# Fedora (~13 months): https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle # Fedora (~13 months): https://fedoraproject.org/wiki/Fedora_Release_Life_Cycle
fedora42_task:
container:
# Fedora 42 EOL: Around May 2026
dockerfile: ci/fedora-42/Dockerfile
<< : *RESOURCES_TEMPLATE
<< : *CI_TEMPLATE
fedora41_task: fedora41_task:
container: container:
# Fedora 41 EOL: Around Nov 2025 # Fedora 41 EOL: Around Nov 2025

36
ci/fedora-42/Dockerfile Normal file
View file

@ -0,0 +1,36 @@
FROM fedora:42
# A version field to invalidate Cirrus's build cache when needed, as suggested in
# https://github.com/cirruslabs/cirrus-ci-docs/issues/544#issuecomment-566066822
ENV DOCKERFILE_VERSION 20250508
RUN dnf -y install \
bison \
ccache \
cmake \
cppzmq-devel \
diffutils \
findutils \
flex \
gawk \
gcc \
gcc-c++ \
git \
jq \
libpcap-devel \
make \
nodejs-devel \
openssl \
openssl-devel \
procps-ng \
python3 \
python3-devel \
python3-pip\
sqlite \
swig \
which \
zlib-devel \
crypto-policies-scripts \
&& dnf clean all && rm -rf /var/cache/dnf
RUN pip3 install websockets junit2html