Skip to content

Commit

Permalink
ci: Force enable features
Browse files Browse the repository at this point in the history
Allows to catch errors in build files.

Signed-off-by: Artem Senichev <[email protected]>
  • Loading branch information
artemsen committed Jul 14, 2024
1 parent 9427d15 commit a77718e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 5 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/Arch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/FreeBSD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/Ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit a77718e

Please sign in to comment.