]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth-4.9.x: move to Ubuntu 24 for package build and other CI 15486/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 29 Apr 2025 08:59:53 +0000 (10:59 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Tue, 29 Apr 2025 08:59:53 +0000 (10:59 +0200)
.github/workflows/build-packages.yml
.github/workflows/builder.yml
.github/workflows/formatting.yml
.github/workflows/fuzz.yml

index 13ab3a36b379b89025ad4316b56728cf815114fc..bb613266c55c61e0f8d1dc8da3dc0de6b2a9a3a3 100644 (file)
@@ -47,7 +47,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   prepare:
     name: generate OS list
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-24.04
     outputs:
       oslist: ${{ steps.get-oslist.outputs.oslist }}
     steps:
@@ -60,8 +60,8 @@ jobs:
   build:
     needs: prepare
     name: build ${{ inputs.product }} (${{ inputs.ref }}) for ${{ matrix.os }}
-    # on a ubuntu-20.04 VM
-    runs-on: ubuntu-20.04
+    # on a ubuntu-24.04 VM
+    runs-on: ubuntu-24.04
     strategy:
       matrix:
         os: ${{fromJson(needs.prepare.outputs.oslist)}}
@@ -139,7 +139,7 @@ jobs:
   check-hashes:
     needs: build
     name: Check if hashes were created for all requested targets
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-24.04
     steps:
       - name: Get list of outputs from build jobs
         run: echo '${{ toJSON(needs.build.outputs) }}' | jq 'keys[]' | grep -v version | tee /tmp/build-outputs.txt
@@ -180,7 +180,7 @@ jobs:
   upload-provenance:
     needs: [prepare, build, provenance-src, provenance-pkgs]
     name: Upload the provenance artifacts to downloads.powerdns.com
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-24.04
     strategy:
       matrix:
         os: ${{fromJson(needs.prepare.outputs.oslist)}}
index 1e085ff21930c1429b24e64391b60c2ea4b1dccb..fc3c56797790a802abda1dfad10b4c92449391d0 100644 (file)
@@ -19,8 +19,8 @@ jobs:
   build:
     name: build.sh
     if: ${{ vars.SCHEDULED_JOBS_BUILDER }}
-    # on a ubuntu-20.04 VM
-    runs-on: ubuntu-20.04
+    # on a ubuntu-24.04 VM
+    runs-on: ubuntu-24.04
     strategy:
       matrix:
         product: ['authoritative']
index cedeef12696860e115cdc12db60b7e08fb22c383..5ecb25d0326060f2dfdf4c86fd4adb3b379859dd 100644 (file)
@@ -11,8 +11,8 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 jobs:
   build:
     name: verify formatting and Makefile.am sort order
-    # on a ubuntu-20.04 VM
-    runs-on: ubuntu-20.04
+    # on a ubuntu-24.04 VM
+    runs-on: ubuntu-24.04
     steps:
       - uses: actions/checkout@v4
         with:
@@ -21,12 +21,7 @@ jobs:
       - name: Update dependencies
         run: |
           sudo apt-get update
-          sudo apt-get -qq --no-install-recommends install git clang-11
-      - name: Run format-code on files that should be formatted
-        run: |
-           ./build-scripts/format-code $(find . -type f -name '*.[ch][ch]' | sort | comm -23 - .not-formatted)
-           git --no-pager diff
-           exit $(git diff | wc -l)
+          sudo apt-get -qq --no-install-recommends install git
       - name: Report file names that are out of order in Makefile.am files
         run: |
            exitcode=0
index afcf8898abbb2430efbc992b6b4e840b4fa36321..182013c75ca6b2a33b38c0fca8166cc21519db59 100644 (file)
@@ -6,7 +6,7 @@ permissions: # least privileges, see https://docs.github.com/en/actions/using-wo
 
 jobs:
   Fuzzing:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-24.04
     steps:
     - uses: actions/checkout@v4
       with: