From d6e55bf10e7fbf8f23154f1efd5ab8c53b443534 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Mon, 29 Jan 2024 21:39:38 +0100 Subject: [PATCH] .github: run make distcheck as part of the CI Closes: https://github.com/containers/composefs/issues/241 Signed-off-by: Giuseppe Scrivano --- .github/workflows/test.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index d1f4ada9..56619b24 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -98,3 +98,14 @@ jobs: run: | sudo docker build -t clang-format hacking/clang-format sudo docker run --rm -w /src -v ${PWD}:/src clang-format + distcheck: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install dependencies + run: sudo ./hacking/installdeps.sh + - name: Configure + run: ./autogen.sh && ./configure CFLAGS='-Wall -Werror' + - name: Run make distcheck + run: make -j$(nproc) distcheck