From 7d723fb0577b22c569465f778273af09ec45ddca Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Fri, 26 Apr 2024 15:34:20 +0200 Subject: [PATCH] [legacy] ci: Add Almalinux 9 (cherry picked from commit b92cdeefbbf0e945b322b54c8b26c10b086e1a8c) --- Jenkinsfile | 1 + legacy/README.md | 1 + legacy/setup-almalinux.sh | 20 ++++++++++++++++++++ test/container/legacy/CMakeLists.txt | 1 + 4 files changed, 23 insertions(+) create mode 100755 legacy/setup-almalinux.sh diff --git a/Jenkinsfile b/Jenkinsfile index 4cfe77aa..fac4835a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -116,6 +116,7 @@ pipeline { script { def ctestcmd = "ctest -VV -S FairSoft_test.cmake" def specs_list = [ + [os: 'Almalinux-9', container: 'almalinux.9.sif'], [os: 'Debian-10', container: 'debian.10.sif'], [os: 'Debian-11', container: 'debian.11.sif'], [os: 'Debian-12', container: 'debian.12.sif'], diff --git a/legacy/README.md b/legacy/README.md index f5083d77..86f96009 100644 --- a/legacy/README.md +++ b/legacy/README.md @@ -84,6 +84,7 @@ please contact us. | **OS Name** | **Arch** | **OS Version** | **Compiler** | **CMake** | | --- | --- | --- | --- | --- | +| Almalinux | x86_64 | 9 | GCC 11.4.1 | 3.27.4 (`bootstrap-cmake.sh`) | | Debian | x86_64 | 10 | GCC 8.3.0 | 3.27.4 (`bootstrap-cmake.sh`) | | Debian | x86_64 | 11 | GCC 10.2.1 | 3.27.4 (`bootstrap-cmake.sh`) | | Debian | x86_64 | 12 | GCC 12.2.0 | 3.25.1 | diff --git a/legacy/setup-almalinux.sh b/legacy/setup-almalinux.sh new file mode 100755 index 00000000..ee913aad --- /dev/null +++ b/legacy/setup-almalinux.sh @@ -0,0 +1,20 @@ +#! /bin/bash + +dnf -y update +dnf -y install dnf-plugins-core epel-release +dnf -y upgrade +dnf config-manager --set-enabled powertools || dnf config-manager --enable crb +dnf -y update +dnf -y install \ + autoconf automake binutils bison bzip2-devel ca-certificates cmake coreutils-single curl-devel \ + diffutils expat-devel fftw-devel findutils flex ftgl-devel gcc-c++ gcc-gfortran gdbm-devel \ + gettext-devel giflib-devel git gl2ps-devel glew-devel gperftools gsl-devel gzip help2man \ + hostname hwloc-devel libX11-devel libXau-devel libXdmcp-devel libXext-devel libXfont2-devel \ + libXft-devel libXmu-devel libXpm-devel libXrender-devel libbsd-devel libicu-devel libjpeg-turbo-devel \ + libtiff-devel libtool libunistring-devel libuuid-devel libxml2-devel libzstd-devel lz4-devel \ + m4 make make mesa-libGL-devel mesa-libGLU-devel ncurses-devel openssl-devel patch pcre-devel \ + procps python3 python3-devel python3-numpy python3-pyyaml readline-devel lsb_release \ + rsync sed sqlite-devel subversion tar tbb-devel unzip wget which xerces-c-devel xxhash-devel \ + xz-devel yaml-cpp-devel zstd protobuf-devel python-unversioned-command +alternatives --set python /usr/bin/python3 || /usr/bin/true +dnf -y clean all diff --git a/test/container/legacy/CMakeLists.txt b/test/container/legacy/CMakeLists.txt index 5cde0acd..eaa65508 100644 --- a/test/container/legacy/CMakeLists.txt +++ b/test/container/legacy/CMakeLists.txt @@ -50,6 +50,7 @@ endfunction() fs_legacy_container(OS centos VERSION 7 BOOTSTRAP_CMAKE PACKAGE_SETUP_SCRIPT "setup-centos-7.sh") fs_legacy_container(OS rockylinux VERSION 8) +fs_legacy_container(OS almalinux VERSION 9 BOOTSTRAP_CMAKE) fs_legacy_container(OS debian VERSION 10 BOOTSTRAP_CMAKE) fs_legacy_container(OS debian VERSION 11 BOOTSTRAP_CMAKE) fs_legacy_container(OS debian VERSION 12)