diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0528ac0..446a533 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -283,3 +283,21 @@ jobs: --cross-file cross-mips64.txt \ --buildtype=release meson compile -C build-mips64el + + freebsd: + name: Build (FreeBSD x86_64) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Build and test on FreeBSD + uses: cross-platform-actions/action@v1.3.0 + with: + operating_system: freebsd + architecture: x86-64 + version: '14.3' + run: | + sudo pkg install -y meson pkgconf ninja lmdb libarchive yyjson libsodium + meson setup build --buildtype=release + meson compile -C build + meson test -C build diff --git a/CHANGELOG.md b/CHANGELOG.md index 44ef8b5..6f5cda7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ All notable changes to this project will be documented in this file. +## [Unreleased] + +### Added + +- FreeBSD support: the library builds, links, and passes its test suite on + FreeBSD with the libsodium signing backend; no source changes are required + because the seccomp dependency is optional and the install-script runner + already has a non-Linux path +- CI job that builds and tests the library in a native FreeBSD x86_64 virtual + machine + ## [1.9.0] - 2026-06-22 ### Added