summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2021-07-25 20:24:05 +0000
committerJan Ekström <jeebjp@gmail.com>2021-07-27 20:53:44 +0300
commitabe523c1d02d5aa220509bd5a9caee624c4ff736 (patch)
tree9a732748799b5d95f8fbdcacf581f320e11c9a77
parentecd06a5d01cef2e066b6822ae9186ea1f5a4f857 (diff)
downloadmpv-abe523c1d02d5aa220509bd5a9caee624c4ff736.tar.bz2
mpv-abe523c1d02d5aa220509bd5a9caee624c4ff736.tar.xz
github/workflows: add freebsd CI
-rw-r--r--.github/workflows/build.yml43
1 files changed, 43 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 613e3478d7..b643f5e3ba 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -94,3 +94,46 @@ jobs:
if: ${{ failure() }}
run: |
cat ./build/config.log
+
+ freebsd:
+ runs-on: macos-10.15 # until https://github.com/actions/runner/issues/385
+ steps:
+ - uses: actions/checkout@v2
+ - name: Test in FreeBSD VM
+ uses: vmactions/freebsd-vm@v0.1.5 # aka FreeBSD 13.0
+ with:
+ usesh: true
+ prepare: |
+ # Requested in ci/build-freebsd.sh
+ pkg install -y \
+ evdev-proto \
+ ffmpeg \
+ libplacebo \
+ libxkbcommon \
+ luajit \
+ openal-soft \
+ pkgconf \
+ python3 \
+ sdl2 \
+ vulkan-headers \
+ wayland-protocols \
+ #
+ # Optionally auto-enabled
+ pkg install -y \
+ alsa-lib \
+ jackit \
+ libXv \
+ libarchive \
+ libbluray \
+ libcaca \
+ libcdio-paranoia \
+ libdvdnav \
+ mujs \
+ pulseaudio \
+ rubberband \
+ sekrit-twc-zimg \
+ uchardet \
+ v4l_compat \
+ #
+ run: |
+ ./ci/build-freebsd.sh