build-auth:
name: build auth
if: ${{ !github.event.schedule || vars.SCHEDULED_JOBS_BUILD_AND_TEST_ALL }}
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
env:
ASAN_OPTIONS: detect_leaks=0
FUZZING_TARGETS: yes
test-auth-api:
needs: build-auth
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
env:
UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1:suppressions=${{ github.workspace }}/build-scripts/UBSan.supp"
ASAN_OPTIONS: detect_leaks=0
test-auth-backend:
needs: build-auth
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
env:
UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1:suppressions=${{ github.workspace }}/build-scripts/UBSan.supp"
ASAN_OPTIONS: detect_leaks=0
test-ixfrdist:
needs: build-auth
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
env:
UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1:suppressions=${{ github.workspace }}/build-scripts/UBSan.supp"
ASAN_OPTIONS: detect_leaks=0
swagger-syntax-check:
if: ${{ !github.event.schedule || vars.SCHEDULED_JOBS_BUILD_AND_TEST_ALL }}
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- uses: PowerDNS/pdns/set-ubuntu-mirror@meta
- uses: actions/checkout@v4
check-clang-tidy:
needs: [build-auth]
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
name: Check whether clang-tidy succeeded
steps:
- run: |
jobs:
prepare:
name: generate OS list
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
outputs:
oslist: ${{ steps.get-oslist.outputs.oslist }}
steps:
build:
needs: prepare
name: build ${{ github.event.inputs.product }} (${{ github.event.inputs.ref }}) for ${{ matrix.os }}
- # on a ubuntu-20.04 VM
- runs-on: ubuntu-20.04
+ # on a ubuntu-22.04 VM
+ runs-on: ubuntu-22.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-22.04 VM
+ runs-on: ubuntu-22.04
strategy:
matrix:
product: ['authoritative']
analyze:
name: Analyze
if: ${{ !github.event.schedule || vars.SCHEDULED_CODEQL_ANALYSIS }}
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
permissions:
actions: read # for github/codeql-action/init to get workflow details
jobs:
build:
name: verify formatting and Makefile.am sort order
- # on a ubuntu-20.04 VM
- runs-on: ubuntu-20.04
+ # on a ubuntu-22.04 VM
+ runs-on: ubuntu-22.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-22.04
steps:
- name: Build Fuzzers
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
jobs:
build:
name: check secpoll zone
- # on a ubuntu-20.04 VM
- runs-on: ubuntu-20.04
+ # on a ubuntu-22.04 VM
+ runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with: