From: Peter van Dijk Date: Wed, 19 Oct 2022 14:10:21 +0000 (+0200) Subject: add dailies workflow, with el7-devtoolset job X-Git-Tag: dnsdist-1.8.0-rc1~267^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0a23fd38c0ab9baebdc0d2a05e99a20311fbd4a0;p=thirdparty%2Fpdns.git add dailies workflow, with el7-devtoolset job --- diff --git a/.github/workflows/misc-dailies.yml b/.github/workflows/misc-dailies.yml new file mode 100644 index 0000000000..c3986dbc37 --- /dev/null +++ b/.github/workflows/misc-dailies.yml @@ -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