From 22f6fc17e9ff8143ad45c663fc49a91d1983d535 Mon Sep 17 00:00:00 2001 From: Vollstrecker Date: Thu, 25 Dec 2025 11:04:13 +0100 Subject: Add workflow for OpenBSD. --- .github/workflows/others.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/others.yml b/.github/workflows/others.yml index 7a1dd2f9..269e0889 100644 --- a/.github/workflows/others.yml +++ b/.github/workflows/others.yml @@ -55,3 +55,23 @@ jobs: cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\ cmake --build build/ &&\ ctest --test-dir build + + openbsd: + runs-on: ubuntu-latest + name: OpenBSD + steps: + - uses: actions/checkout@v4 + - name: OpenBSD + uses: vmactions/openbsd-vm@v1 + with: + prepare: | + 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 -- cgit v1.2.3-55-g6feb