]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add a second run of installing rpm build dependencies
authorNick Porter <nick@portercomputing.co.uk>
Wed, 18 May 2022 10:01:21 +0000 (11:01 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 18 May 2022 10:09:57 +0000 (11:09 +0100)
It has been observed that not all dependencies get installed first time
on rocky 8

.github/workflows/ci-rpm.yml

index a459683fab5a2c02c8f52dfafb931ce477f6d343..1ed5a9dc3d525314df62b9999644fb587b8345c2 100644 (file)
@@ -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 || :