diff options
| -rw-r--r-- | .github/workflows/others.yml | 20 |
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 | ||
