From: Nick Porter Date: Wed, 18 May 2022 10:01:21 +0000 (+0100) Subject: Add a second run of installing rpm build dependencies X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12d3fdfc4293b1b6c4513146d138e913eec91ac0;p=thirdparty%2Ffreeradius-server.git Add a second run of installing rpm build dependencies It has been observed that not all dependencies get installed first time on rocky 8 --- diff --git a/.github/workflows/ci-rpm.yml b/.github/workflows/ci-rpm.yml index a459683fab5..1ed5a9dc3d5 100644 --- a/.github/workflows/ci-rpm.yml +++ b/.github/workflows/ci-rpm.yml @@ -140,6 +140,15 @@ jobs: run: | yum-builddep -y freeradius/redhat/freeradius.spec + # + # It has been observed that sometimes not all the dependencies are + # installed on the first go. Give it a second chance. + # + - name: Second run of install build dependencies + run: | + yum-builddep -y redhat/freeradius.spec + working-directory: freeradius + - name: Build RPMs run: | [ -r /opt/rh/devtoolset-8/enable ] && source /opt/rh/devtoolset-8/enable || :