]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fail early means the logs aren't output from configure
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 29 Aug 2024 11:15:24 +0000 (06:15 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 29 Aug 2024 11:15:24 +0000 (06:15 -0500)
.github/actions/build-freeradius/action.yml

index 7ee09f7b1e54a42312f0297741e2f44f0526f606..24ef474ec9f8ac9092670f604edd147d9a437252 100644 (file)
@@ -143,11 +143,14 @@ runs:
             --with-threads=$LIBS_OPTIONAL \
             --with-udpfromto=$LIBS_OPTIONAL \
             --with-openssl=$LIBS_OPTIONAL \
-            --with-pcre=$LIBS_OPTIONAL
-        echo "config.log"
-        cat config.log
-        echo "Contents of src/include/autoconf.h"
-        cat "./src/include/autoconf.h"
+            --with-pcre=$LIBS_OPTIONAL \
+        || {
+            echo "config.log"
+            cat config.log
+            echo "Contents of src/include/autoconf.h"
+            cat "./src/include/autoconf.h"
+            exit 1
+        }
 
     - name: Make
       if: ${{ inputs.test_type != 'fuzzing' }}