]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: on centos-8 build, use distcheck
authorJason Ish <jason.ish@oisf.net>
Thu, 19 Mar 2020 20:13:33 +0000 (14:13 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 4 Apr 2020 11:49:41 +0000 (13:49 +0200)
And verify that man page is built.

.github/workflows/builds.yml

index 6bacea7d800e938f9fd2a7f58a6bb0dcee255851..0ff476af43c4f11761b38229bd0ca84294c72fc5 100644 (file)
@@ -85,19 +85,13 @@ jobs:
       - name: Configuring
         run: |
           ./autogen.sh
-          ./configure --enable-unittests \
-                --enable-debug \
-                --enable-lua \
-                --enable-geoip \
-                --enable-profiling \
-                --enable-profiling-locks
-      - name: Building
-        run: make -j2
-      - name: Running unittests
-        run: make check
-      - name: Building distribution
+          ./configure
+      - run: make -j2 distcheck
+        env:
+          DISTCHECK_CONFIGURE_FLAGS: "--enable-unittests --enable-debug --enable-lua --enable-geoip --enable-profiling --enable-profiling-locks"
+      - run: test -e doc/userguide/suricata.1
+      - name: Preparing distribution
         run: |
-          make dist
           mkdir dist
           mv suricata-*.tar.gz dist
       - uses: actions/upload-artifact@v1