From 64cfd6a27d45714e4fc6bffd32602084038810e7 Mon Sep 17 00:00:00 2001 From: Dave Vasilevsky Date: Thu, 9 Nov 2023 13:05:57 -0500 Subject: [PATCH] distcheck in its own build --- .github/workflows/ci.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 65f071a..bfd9508 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,8 @@ jobs: os: ubuntu-latest disable_fuse: "--disable-fuse" check_features: demo + - name: distcheck + os: ubuntu-latest - name: Old distro os: ubuntu-20.04 - name: Mac @@ -46,21 +48,19 @@ jobs: brew install autoconf automake libtool pkgconfig squashfs coreutils brew install --cask macfuse if: runner.os == 'macOS' - - name: build + - name: autogen run: | ./autogen.sh + - name: build + run: | CPPFLAGS="-Werror" ./configure $DISABLE_FUSE make -j2 V=1 + if: matrix.name != 'distcheck' - name: test run: | make check diff -u ci/expected-features/${CHECK_FEATURES:-all} ci/features - if: runner.os != 'macOS' - - name: distcheck - run: | - make distcheck - # This is expensive, run just once - if: matrix.name == 'Ubuntu' + if: runner.os != 'macOS' && matrix.name != 'distcheck' - name: test run: | # On macOS loading the macfuse extension is needed. This @@ -73,8 +73,13 @@ jobs: diff -u ci/expected-features/${CHECK_FEATURES:-all} ci/features fi if: runner.os == 'macOS' + - name: distcheck + run: | + make distcheck + if: matrix.name == 'distcheck' - name: install run: sudo make install + if: matrix.name != 'distcheck' - name: output run: | cp /tmp/*.log . || true