From: Arran Cudbard-Bell Date: Mon, 28 Mar 2022 21:15:06 +0000 (-0600) Subject: add back Centos 7 support, apparently that was still passing in the scheduled builds... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4131bbd2a081636a42d0a500ff42e9fc03463541;p=thirdparty%2Ffreeradius-server.git add back Centos 7 support, apparently that was still passing in the scheduled builds somehow --- diff --git a/.github/workflows/ci-rpm.yml b/.github/workflows/ci-rpm.yml index 70fd480e14..a459683fab 100644 --- a/.github/workflows/ci-rpm.yml +++ b/.github/workflows/ci-rpm.yml @@ -32,6 +32,7 @@ jobs: M=$(cat < 7 + if: ${{ matrix.env.NAME != 'centos-7' }} + run: | + yum install -y git-core + - name: Set up NetworkRADIUS extras repository run: | echo '[networkradius-extras]' > /etc/yum.repos.d/networkradius-extras.repo @@ -88,6 +101,14 @@ jobs: run: | yum install -y yum-utils rpm-build openssl make gcc perl + - name: Install SCL compiler on CentOS 7 + if: ${{ matrix.env.NAME == 'centos-7' }} + run: | + yum install -y centos-release-scl + yum install -y devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-make + rm -f /etc/yum.repos.d/CentOS-SCLo-scl-rh.repo + rm -f /etc/yum.repos.d/CentOS-SCLo-scl.repo + - uses: actions/checkout@v2 with: path: freeradius @@ -103,13 +124,15 @@ jobs: rpm --import https://www.ltb-project.org/documentation/_static/RPM-GPG-KEY-LTB-project yum install -y epel-release - - name: Enable PowerTools + - name: Enable PowerTools on CentOS 8 + if: ${{ matrix.env.NAME == 'stream-8' || matrix.env.NAME == 'rocky-8' }} run: | yum config-manager --enable PowerTools || : yum config-manager --enable powertools || : # For pkill - - name: Enable procps-ng + - name: Enable procps-ng on CentOS 8 + if: ${{ matrix.env.NAME == 'stream-8' || matrix.env.NAME == 'rocky-8' }} run: | yum install -y procps-ng @@ -214,14 +237,16 @@ jobs: rpm --import https://www.ltb-project.org/documentation/_static/RPM-GPG-KEY-LTB-project yum install -y epel-release - - name: Enable PowerTools + - name: Enable PowerTools on Centos 8 + if: ${{ matrix.env.NAME == 'stream-8' || matrix.env.NAME == 'rocky-8' }} run: | yum install -y yum-utils yum config-manager --enable PowerTools || : yum config-manager --enable powertools || : # For pkill - - name: Enable procps-ng on Fedora and Centos 8 + - name: Enable procps-ng on Centos 8 + if: ${{ matrix.env.NAME == 'stream-8' || matrix.env.NAME == 'rocky-8' }} run: | yum install -y procps-ng