Skip to content

Commit

Permalink
Add FreeBSD target to CI workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
skullernet committed May 4, 2024
1 parent c0d2fb8 commit 51c9323
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ env:
-Dwrap_mode=nofallback
-Dx11=disabled
MESON_ARGS_FREEBSD: >-
-Dicmp-errors=disabled
-Dwindows-crash-dumps=disabled
-Dwrap_mode=nofallback
jobs:
mingw:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -126,3 +131,22 @@ jobs:
run: |
meson setup ${{ env.MESON_ARGS }} ${{ env.MESON_ARGS_MACOS }} builddir
meson compile -C builddir
freebsd:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4

- name: Build
uses: cross-platform-actions/[email protected]
with:
operating_system: freebsd
architecture: x86-64
version: '14.0'
run: |
sudo pkg update
sudo pkg install -y git meson pkgconf openal-soft \
sdl2 curl png jpeg-turbo libx11 libdecor evdev-proto wayland-protocols
meson setup ${{ env.MESON_ARGS }} ${{ env.MESON_ARGS_FREEBSD }} builddir
meson compile -C builddir

0 comments on commit 51c9323

Please sign in to comment.