From f6049c3f2144532f3a170192a060a66dbcfcb2fe Mon Sep 17 00:00:00 2001 From: Dmitry Rogozhkin Date: Wed, 8 Feb 2023 08:21:00 -0800 Subject: [PATCH] ci: test dist packages Signed-off-by: Dmitry Rogozhkin --- .github/workflows/freebsd.yml | 2 ++ .github/workflows/ubuntu.yml | 7 +++++++ .github/workflows/windows.yml | 2 ++ 3 files changed, 11 insertions(+) diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml index 69ff1f8eb..377c40720 100644 --- a/.github/workflows/freebsd.yml +++ b/.github/workflows/freebsd.yml @@ -18,3 +18,5 @@ jobs: meson setup _build -D werror=true meson compile -C _build meson install -C _build + meson dist -C _build + diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 5248cd2df..1f1078586 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -47,6 +47,9 @@ jobs: - name: 'Install (meson)' if: ${{ (matrix.build == 'meson') }} run: sudo meson install -C ./builddir + - name: 'Build dist package (meson)' + if: ${{ (matrix.build == 'meson') }} + run: meson dist -C ./builddir - name: 'Configure (autotools)' if: ${{ (matrix.build == 'autotools') }} @@ -57,3 +60,7 @@ jobs: - name: 'Build and Install (autotools)' if: ${{ (matrix.build == 'autotools') }} run: sudo make install + - name: 'Build dist package (autotools)' + if: ${{ (matrix.build == 'autotools') }} + run: make distcheck + diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 2a00a6fea..811ad8b97 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -23,6 +23,8 @@ jobs: run: meson compile -C _build - name: 'Install' run: meson install -C _build + - name: 'Build dist package' + run: meson dist -C _build windows-mingw: runs-on: windows-2022