]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add dailies workflow, with el7-devtoolset job
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 19 Oct 2022 14:10:21 +0000 (16:10 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 19 Oct 2022 14:10:21 +0000 (16:10 +0200)
.github/workflows/misc-dailies.yml [new file with mode: 0644]

diff --git a/.github/workflows/misc-dailies.yml b/.github/workflows/misc-dailies.yml
new file mode 100644 (file)
index 0000000..c3986db
--- /dev/null
@@ -0,0 +1,21 @@
+name: "Various daily checks"
+
+on:
+  schedule:
+    - cron: '34 4 * * *'
+
+jobs:
+  el7-devtoolset:
+    runs-on: ubuntu-22.04
+
+    steps:
+    - name: Check whether a newer devtoolset exists
+      run: |
+        if docker run --rm centos:7 bash -c 'yum install -y centos-release-scl-rh && yum info devtoolset-12-gcc-c++'
+        then
+          echo "::warning file=builder-support/dockerfiles/Dockerfile.rpmbuild::A newer devtoolset exists. Please edit builder-support/dockerfiles/Dockerfile.rpmbuild, builder-support/dockerfiles/Dockerfile.rpmbuild, and .github/workflows/dailies.yml"
+          exit 1
+        else
+          echo "::notice ::No newer devtoolset exists (good)"
+          exit 0
+        fi