jobs:
prepare:
name: generate OS list
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-24.04
outputs:
oslist: ${{ steps.get-oslist.outputs.oslist }}
steps:
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)}}
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
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)}}
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']
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:
- 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
jobs:
Fuzzing:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with: