From aacc4845437a000954c2db62b8c91500d079b546 Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Thu, 8 May 2025 09:34:25 +0200 Subject: [PATCH] CI: Add fedora-42 This ships with gcc 15.1.1 and Python 3.13.3 --- .cirrus.yml | 7 +++++++ ci/fedora-42/Dockerfile | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 ci/fedora-42/Dockerfile diff --git a/.cirrus.yml b/.cirrus.yml index 99f0cafa84..38cad65d2f 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -174,6 +174,13 @@ env: # Linux EOL timelines: https://linuxlifecycle.com/ # 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: container: # Fedora 41 EOL: Around Nov 2025 diff --git a/ci/fedora-42/Dockerfile b/ci/fedora-42/Dockerfile new file mode 100644 index 0000000000..578f168b26 --- /dev/null +++ b/ci/fedora-42/Dockerfile @@ -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