From: Michael Tremer Date: Mon, 10 Mar 2025 15:18:12 +0000 (+0000) Subject: jenkins: Try building for Alma Linux 9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a25b5329800f8fff7d8ed9c13448851ac7482d6;p=location%2Flibloc.git jenkins: Try building for Alma Linux 9 Signed-off-by: Michael Tremer --- diff --git a/Jenkinsfile b/Jenkinsfile index 5279778..e37d9af 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,6 +11,7 @@ pipeline { axis { name "DISTRO" values \ + "almalinux:9", \ "archlinux:base-devel", \ "debian:trixie", \ "debian:bookworm", \ @@ -45,8 +46,8 @@ pipeline { if (env.DISTRO.contains("archlinux")) { installBuildDepsArchLinux(env.DISTRO, env.COMPILER) - // Fedora, etc. - } else if (env.DISTRO.contains("fedora")) { + // Fedora, Alma Linux, etc. + } else if (env.DISTRO.contains("fedora") || env.DISTRO.contains("almalinux")) { installBuildDepsRedHat(env.DISTRO, env.COMPILER) // Debian & Ubuntu @@ -454,6 +455,11 @@ def installBuildDepsRedHat(distro, compier) { // Install basic development tools sh "dnf group install -y development-tools" + // Enable CodeReady Builder for Almalinux 9 + if (distro.contains("almalinux:9")) { + sh "dnf config-manager --set-enabled crb" + } + // Install our own build and runtime dependencies sh """ dnf install -y \