name: test on: pull_request jobs: debian: runs-on: docker container: image: codeberg.org/dns-oarc/ci-images/debian steps: - uses: actions/checkout@v5 with: submodules: true ssh-key: ${{ vars.readonlykey }} - name: install dependencies run: | apt-get install -y libtinyframe-dev protobuf-c-compiler libprotobuf-c-dev libuv1-dev - name: configure run: | sh autogen.sh mkdir -p build cd build ../configure --enable-warn-all - name: dist run: | cd build make dist tar zxvf dnswire-*.tar.gz cd dnswire-*[0-9] mkdir -p build cd build ../configure --enable-warn-all - name: make run: | cd build/dnswire-*[0-9]/build make all test ubuntu: runs-on: docker container: image: codeberg.org/dns-oarc/ci-images/ubuntu steps: - uses: actions/checkout@v5 with: submodules: true ssh-key: ${{ vars.readonlykey }} - name: install dependencies run: | apt-get install -y libtinyframe-dev protobuf-c-compiler libprotobuf-c-dev libuv1-dev - name: configure run: | sh autogen.sh mkdir -p build cd build ../configure --enable-warn-all - name: dist run: | cd build make dist tar zxvf dnswire-*.tar.gz cd dnswire-*[0-9] mkdir -p build cd build ../configure --enable-warn-all - name: make run: | cd build/dnswire-*[0-9]/build make all test centos: runs-on: docker container: image: codeberg.org/dns-oarc/ci-images/centos steps: - uses: actions/checkout@v5 with: submodules: true ssh-key: ${{ vars.readonlykey }} - name: install dependencies run: | dnf install -y tinyframe-devel protobuf-c-compiler protobuf-c-devel libuv-devel - name: configure run: | sh autogen.sh mkdir -p build cd build ../configure --enable-warn-all - name: dist run: | cd build make dist tar zxvf dnswire-*.tar.gz cd dnswire-*[0-9] mkdir -p build cd build ../configure --enable-warn-all - name: make run: | cd build/dnswire-*[0-9]/build make all test scan-build: runs-on: docker container: image: codeberg.org/dns-oarc/ci-images/ubuntu steps: - uses: actions/checkout@v5 with: submodules: true ssh-key: ${{ vars.readonlykey }} - name: install dependencies run: | apt-get install -y libtinyframe-dev protobuf-c-compiler libprotobuf-c-dev libuv1-dev - name: configure run: | sh autogen.sh mkdir -p build cd build ../configure --enable-warn-all - name: scan-build run: | cd build scan-build --status-bugs make all