]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Switch CI runners to Ubuntu 24
authorNick Porter <nick@portercomputing.co.uk>
Thu, 23 Jan 2025 10:17:23 +0000 (10:17 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 23 Jan 2025 10:17:23 +0000 (10:17 +0000)
.github/workflows/ci.yml

index d2492fe2b8e5d26b844e877ab48b042cba731358..4d0b0a43adb72952fe8862f1ef02178add029fd2 100644 (file)
@@ -52,10 +52,10 @@ jobs:
 # docker  - the docker image name, if containers are being used
 # name    - used in the job name only
 #
-          - runs_on: "${{ needs.pre-ci.outputs.selfhosted == '1' && 'self-hosted' || 'ubuntu-20.04' }}"
-            docker: "${{ needs.pre-ci.outputs.selfhosted == '1' && 'docker.internal.networkradius.com/self-hosted' || 'ubuntu:20.04' }}"
-            name: "${{ needs.pre-ci.outputs.selfhosted == '1' && 'self' || 'gh' }}-ubuntu20"
-            code: "ubuntu2004"
+          - runs_on: "${{ needs.pre-ci.outputs.selfhosted == '1' && 'self-hosted' || 'ubuntu-24.04' }}"
+            docker: "${{ needs.pre-ci.outputs.selfhosted == '1' && 'docker.internal.networkradius.com/self-hosted' || 'ubuntu:24.04' }}"
+            name: "${{ needs.pre-ci.outputs.selfhosted == '1' && 'self' || 'gh' }}-ubuntu24"
+            code: "ubuntu2404"
 
         env:
           - { CC: gcc,   DO_BUILD: yes, LIBS_OPTIONAL: no,  LIBS_ALT: no,  REPRODUCIBLE: no,  SANITIZER: no,  BUILD_CFLAGS: "-DWITH_EVAL_DEBUG",         NAME: linux-gcc-lean           }
@@ -163,15 +163,14 @@ jobs:
         libyubikey-dev \
         lintian \
         pbuilder \
-        python2-dev \
         python3-dev \
         ruby-dev \
         snmp \
         software-properties-common \
         quilt
 
-    - name: Install LLVM 15 for 20.04
-      if: ${{ matrix.os.code == 'ubuntu2004' && matrix.env.CC == 'clang' }}
+    - name: Install LLVM 15 for 24.04
+      if: ${{ matrix.os.code == 'ubuntu2404' && matrix.env.CC == 'clang' }}
       run: |
         wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add
         sudo apt-add-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-15 main"