-
Notifications
You must be signed in to change notification settings - Fork 30
28 lines (26 loc) · 1.04 KB
/
FreeBSD.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: FreeBSD
on: [push, pull_request]
jobs:
check:
runs-on: ubuntu-latest
env:
BUILD_PATH: /tmp/build
INSTALL_PATH: /tmp/install
steps:
- uses: actions/checkout@v4
- name: FreeBSD check
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: >
pkg install -y
meson pkgconf
wayland wayland-protocols libxkbcommon freetype2 fontconfig
json-c libinotify googletest
libavif giflib libheif libjxl libexif openexr png tiff webp jpeg-turbo
run: |
meson setup -D tests=enabled -D heif=enabled -D bash=auto -D exif=enabled -D exr=enabled -D gif=enabled -D jpeg=enabled -D jxl=enabled -D svg=auto -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
meson test --verbose -C ${{ env.BUILD_PATH }}