]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
gh actions: build centos6 packages 9779/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 26 Nov 2020 10:57:40 +0000 (11:57 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 30 Nov 2020 11:08:01 +0000 (12:08 +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..eb0ece6
--- /dev/null
@@ -0,0 +1,24 @@
+name: 'Test package building for specific distributions'
+
+on:
+  push:
+  pull_request:
+  schedule:
+    - cron: '0 22 * * 2'
+
+jobs:
+  build:
+    # a centos-6 Docker container
+    name: centos-6
+    # on a ubuntu-20.04 VM
+    runs-on: ubuntu-20.04
+    strategy:
+      matrix:
+        product: ['authoritative', 'recursor', 'dnsdist']
+    steps:
+    - uses: actions/checkout@v2.3.4
+      with:
+        fetch-depth: 5
+        submodules: recursive
+    # this builds packages for EL6, and runs our unit test (make check)
+    - run: builder/build.sh -v -m ${{matrix.product }} centos-6