aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorVollstrecker <werner@vollstreckernet.de>2025-12-25 11:04:13 +0100
committerMark Adler <git@madler.net>2026-01-27 18:00:05 -0800
commit22f6fc17e9ff8143ad45c663fc49a91d1983d535 (patch)
treee652b44337721af7e0f8bd8a2dae297dda986e34 /.github
parent2ae28cea489a66ac2ad7450e2ea931880ccf32b7 (diff)
downloadzlib-22f6fc17e9ff8143ad45c663fc49a91d1983d535.tar.gz
zlib-22f6fc17e9ff8143ad45c663fc49a91d1983d535.tar.bz2
zlib-22f6fc17e9ff8143ad45c663fc49a91d1983d535.zip
Add workflow for OpenBSD.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/others.yml20
1 files changed, 20 insertions, 0 deletions
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:
55 cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\ 55 cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\
56 cmake --build build/ &&\ 56 cmake --build build/ &&\
57 ctest --test-dir build 57 ctest --test-dir build
58
59 openbsd:
60 runs-on: ubuntu-latest
61 name: OpenBSD
62 steps:
63 - uses: actions/checkout@v4
64 - name: OpenBSD
65 uses: vmactions/openbsd-vm@v1
66 with:
67 prepare: |
68 export PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH" &&\
69 export PKG_PATH="https://cdn.openbsd.org/pub/OpenBSD/$(uname -r|cut -f '1 2' -d.)/packages/amd64/" &&\
70 /usr/sbin/pkg_add cmake &&\
71 /usr/sbin/pkg_add gcc14 &&\
72 /usr/sbin/pkg_add bzip2
73
74 run: |
75 cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\
76 cmake --build build/ &&\
77 ctest --test-dir build