]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
github-ci: add autoreconf to centos-7 build
authorJason Ish <jason.ish@oisf.net>
Mon, 10 Aug 2020 17:15:45 +0000 (11:15 -0600)
committerJason Ish <jason.ish@oisf.net>
Mon, 10 Aug 2020 17:17:40 +0000 (11:17 -0600)
The prepared distribution packages are failing autoreconf
due to a missing acsite.m4. Add autoreconf to the centos-7
build which uses the prepared package to test for this
issue.

.github/workflows/builds.yml

index c1afb67f2a310cb0fba79ed41fe4805afcedc722..b09d9a314e9e08cdfaa5d485ddfcc24dd5f0a345 100644 (file)
@@ -202,6 +202,8 @@ jobs:
         run: |
           yum -y install epel-release
           yum -y install \
+                autoconf \
+                automake \
                 cargo \
                 diffutils \
                 file-devel \
@@ -233,6 +235,12 @@ jobs:
         with:
           name: dist
       - run: tar zxvf suricata-*.tar.gz --strip-components=1
+      # This isn't really needed as we are building from a prepared
+      # package, but some package managers like RPM and Debian like to
+      # run this command even on prepared packages, so make sure it
+      # works.
+      - name: Test autoreconf
+        run: autoreconf -fv --install
       - run: ./configure
       - run: make -j2
       - run: make install