| 1 | name: freebsd |
| 2 | on: push |
| 3 | |
| 4 | jobs: |
| 5 | check: |
| 6 | runs-on: ubuntu-latest |
| 7 | steps: |
| 8 | - uses: actions/checkout@v4 |
| 9 | with: |
| 10 | fetch-depth: 1 |
| 11 | - uses: cross-platform-actions/action@6acac3ca1b632aa762721d537dea32398ba0f2b1 |
| 12 | with: |
| 13 | operating_system: freebsd |
| 14 | version: '14.1' |
| 15 | shell: bash |
| 16 | run: | |
| 17 | sudo pkg install -y libev libxcb meson pkgconf cmake xcb-util-renderutil xcb-util-image pixman uthash libconfig libglvnd libepoxy dbus pcre2 |
| 18 | CPPFLAGS="-I/usr/local/include" meson setup -Dunittest=true --werror build |
| 19 | ninja -C build |
| 20 | ninja -C build test |
| 21 |