From a77718ea2cc1fd95dda0a833b250c77c5ceaa168 Mon Sep 17 00:00:00 2001 From: Artem Senichev Date: Sun, 14 Jul 2024 18:16:24 +0300 Subject: [PATCH] ci: Force enable features Allows to catch errors in build files. Signed-off-by: Artem Senichev --- .github/workflows/Arch.yml | 16 ++++++++++++++-- .github/workflows/FreeBSD.yml | 2 +- .github/workflows/Ubuntu.yml | 16 ++++++++++++++-- 3 files changed, 29 insertions(+), 5 deletions(-) diff --git a/.github/workflows/Arch.yml b/.github/workflows/Arch.yml index 0d0961f..bedfabf 100644 --- a/.github/workflows/Arch.yml +++ b/.github/workflows/Arch.yml @@ -29,8 +29,20 @@ jobs: run: > docker exec swayimg meson setup - -Dversion=${{steps.version.outputs.VERSION}} - -Dtests=enabled + -D version=${{steps.version.outputs.VERSION}} + -D tests=enabled + -D heif=enabled + -D bash=enabled + -D exif=enabled + -D exr=enabled + -D gif=enabled + -D jpeg=enabled + -D jxl=enabled + -D svg=enabled + -D tiff=enabled + -D webp=enabled + -D man=true + -D desktop=true --prefix=/usr ${{ env.BUILD_PATH }} diff --git a/.github/workflows/FreeBSD.yml b/.github/workflows/FreeBSD.yml index aa8c57e..040dc87 100644 --- a/.github/workflows/FreeBSD.yml +++ b/.github/workflows/FreeBSD.yml @@ -21,7 +21,7 @@ jobs: json-c libinotify googletest libavif giflib libheif libjxl libexif openexr png tiff webp jpeg-turbo run: | - meson setup -Dtests=enabled --prefix=/usr ${{ env.BUILD_PATH }} + meson setup -D tests=enabled -D heif=enabled -D bash=enabled -D exif=enabled -D exr=enabled -D gif=enabled -D jpeg=enabled -D jxl=enabled -D svg=enabled -D tiff=enabled -D webp=enabled -D man=true -D desktop=true --prefix=/usr ${{ env.BUILD_PATH }} meson compile -C ${{ env.BUILD_PATH }} env DESTDIR=${{ env.INSTALL_PATH }} meson install -C ${{ env.BUILD_PATH }} ${{ env.INSTALL_PATH }}/usr/bin/swayimg --version diff --git a/.github/workflows/Ubuntu.yml b/.github/workflows/Ubuntu.yml index cd96af5..429c8c5 100644 --- a/.github/workflows/Ubuntu.yml +++ b/.github/workflows/Ubuntu.yml @@ -41,8 +41,20 @@ jobs: - name: Configure run: > meson setup - -Dversion=${{steps.version.outputs.VERSION}} - -Dtests=enabled + -D version=${{steps.version.outputs.VERSION}} + -D tests=enabled + -D heif=enabled + -D bash=enabled + -D exif=enabled + -D exr=auto + -D gif=enabled + -D jpeg=enabled + -D jxl=auto + -D svg=enabled + -D tiff=enabled + -D webp=enabled + -D man=true + -D desktop=true --prefix=/usr ${{ env.BUILD_PATH }}