From 6d61ddfe5a2b0c2316b28216c6e29880d1455039 Mon Sep 17 00:00:00 2001 From: Vollstrecker Date: Thu, 25 Dec 2025 11:33:21 +0100 Subject: Add workflow for DragonflyBSD. --- .github/workflows/others.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.github/workflows/others.yml b/.github/workflows/others.yml index 269e0889..a23c0b96 100644 --- a/.github/workflows/others.yml +++ b/.github/workflows/others.yml @@ -48,7 +48,6 @@ jobs: export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages" &&\ export PKG_PATH="$PKG_PATH/$(uname -s)/$(uname -m)/$(uname -r|cut -f '1 2' -d.)/All" &&\ /usr/sbin/pkg_add cmake &&\ - /usr/sbin/pkg_add gcc14 &&\ /usr/sbin/pkg_add bzip2 run: | @@ -68,10 +67,25 @@ jobs: export PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH" &&\ export PKG_PATH="https://cdn.openbsd.org/pub/OpenBSD/$(uname -r|cut -f '1 2' -d.)/packages/amd64/" &&\ /usr/sbin/pkg_add cmake &&\ - /usr/sbin/pkg_add gcc14 &&\ /usr/sbin/pkg_add bzip2 run: | cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\ cmake --build build/ &&\ ctest --test-dir build + + dragonflybsd: + runs-on: ubuntu-latest + name: DragonflyBSD + steps: + - uses: actions/checkout@v4 + - name: DragonflyBSD + uses: vmactions/dragonflybsd-vm@v1 + with: + prepare: | + pkg install -y cmake gcc14 bzip2 + + run: | + cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\ + cmake --build build/ &&\ + ctest --test-dir build -- cgit v1.2.3-55-g6feb