aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/others.yml25
1 files changed, 23 insertions, 2 deletions
diff --git a/.github/workflows/others.yml b/.github/workflows/others.yml
index aa2ce24e..7a1dd2f9 100644
--- a/.github/workflows/others.yml
+++ b/.github/workflows/others.yml
@@ -12,7 +12,7 @@ jobs:
12 uses: vmactions/omnios-vm@v1 12 uses: vmactions/omnios-vm@v1
13 with: 13 with:
14 prepare: | 14 prepare: |
15 pkg install cmake gcc14 make bzip2 15 pkg install cmake gcc14 make bzip2
16 16
17 run: | 17 run: |
18 cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\ 18 cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\
@@ -28,7 +28,28 @@ jobs:
28 uses: vmactions/openindiana-vm@v0 28 uses: vmactions/openindiana-vm@v0
29 with: 29 with:
30 prepare: | 30 prepare: |
31 pkg install cmake gcc-14 make bzip2 31 pkg install cmake gcc-14 make bzip2
32
33 run: |
34 cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\
35 cmake --build build/ &&\
36 ctest --test-dir build
37
38 netbsd:
39 runs-on: ubuntu-latest
40 name: NetBSD
41 steps:
42 - uses: actions/checkout@v4
43 - name: NetBSD
44 uses: vmactions/netbsd-vm@v1
45 with:
46 prepare: |
47 export PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH" &&\
48 export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages" &&\
49 export PKG_PATH="$PKG_PATH/$(uname -s)/$(uname -m)/$(uname -r|cut -f '1 2' -d.)/All" &&\
50 /usr/sbin/pkg_add cmake &&\
51 /usr/sbin/pkg_add gcc14 &&\
52 /usr/sbin/pkg_add bzip2
32 53
33 run: | 54 run: |
34 cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\ 55 cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\