From 0a23fd38c0ab9baebdc0d2a05e99a20311fbd4a0 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Wed, 19 Oct 2022 16:10:21 +0200 Subject: [PATCH] add dailies workflow, with el7-devtoolset job --- .github/workflows/misc-dailies.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/misc-dailies.yml 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 -- 2.47.2