Fixed freebsd build + added some ci basic checks, fixes #717

This commit is contained in:
emeric
2025-07-21 23:55:53 +02:00
parent 79872e2887
commit 345e8228ab
2 changed files with 24 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
name: Basic Build (FreeBSD)
on: [pull_request]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
uses: vmactions/freebsd-vm@v1.2.1
with:
usesh: true
prepare: |
pkg install -y cmake pkgconf boost-libs ffmpeg stb libconfig taglib libarchive xxhash wt googletest
run: |
mkdir build
cd build
cmake .. -DCMAKE_UNITY_BUILD=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_BENCHMARKS=OFF
make -j$(nproc)
make test