]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
CI: add autotools, out-of-tree, debug build to distro check job
authorViktor Szakats <commit@vsz.me>
Wed, 11 Oct 2023 09:07:03 +0000 (09:07 +0000)
committerViktor Szakats <commit@vsz.me>
Thu, 12 Oct 2023 23:29:39 +0000 (23:29 +0000)
Add a job that builds curl from a generated source tarball sample, with
autotools, out-of-tree, in debug mode.

Ref: #12085
Closes #12088

.github/workflows/distcheck.yml

index a63091bd94a3e4976db9a171057c14369f940d0c..26c4da2b88706f3729a8fbe4c8392f2b29cc1e4d 100644 (file)
@@ -81,6 +81,27 @@ jobs:
         rm -rf curl-99.98.97
       name: 'verify out-of-tree configure build including docs'
 
+  verify-out-of-tree-autotools-debug:
+    runs-on: ubuntu-latest
+    timeout-minutes: 30
+    needs: maketgz-and-verify-in-tree
+    steps:
+    - uses: actions/download-artifact@v3
+      with:
+        name: 'release-tgz'
+
+    - run: |
+        echo "::stop-commands::$(uuidgen)"
+        tar xvf curl-99.98.97.tar.gz
+        pushd curl-99.98.97
+        mkdir build
+        pushd build
+        ../configure --without-ssl --enable-debug "--prefix=${PWD}/pkg"
+        make -j3
+        make -j3 TFLAGS=1279 test
+        make -j3 install
+      name: 'verify out-of-tree autotools debug build'
+
   verify-out-of-tree-cmake:
     runs-on: ubuntu-latest
     timeout-minutes: 30