]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add "old OS" builders fro EL7 and Ubuntu 18.04
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 16 Dec 2020 10:56:41 +0000 (11:56 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 8 Jan 2021 07:50:48 +0000 (08:50 +0100)
.github/workflows/builder.yml [new file with mode: 0644]

diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml
new file mode 100644 (file)
index 0000000..2644f87
--- /dev/null
@@ -0,0 +1,27 @@
+---
+name: 'Test package building for specific distributions'
+
+on:
+  push:
+  pull_request:
+  schedule:
+    - cron: '0 22 * * 2'
+
+jobs:
+  build:
+    name: Build package on older OS's
+    # on a ubuntu-20.04 VM
+    runs-on: ubuntu-20.04
+    strategy:
+      matrix:
+        product: ['authoritative', 'recursor', 'dnsdist']
+        os:
+          - centos-7
+          - ubuntu-bionic
+    steps:
+      - uses: actions/checkout@v2.3.4
+        with:
+          fetch-depth: 5
+          submodules: recursive
+      # this builds packages and runs our unit test (make check)
+      - run: builder/build.sh -v -m ${{ matrix.product }} ${{ matrix.os }}