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 new file mode 100644 index 00000000..4d00827e --- /dev/null +++ b/.github/workflows/others.yml | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | name: omni-os | ||
| 2 | |||
| 3 | on: [push, pull_request] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | omni-os: | ||
| 7 | runs-on: ubuntu-latest | ||
| 8 | name: OmniOS | ||
| 9 | steps: | ||
| 10 | - uses: actions/checkout@v4 | ||
| 11 | - name: OmniOS | ||
| 12 | uses: vmactions/omnios-vm@v1 | ||
| 13 | with: | ||
| 14 | prepare: | | ||
| 15 | pkg install cmake gcc14 make bzip2 | ||
| 16 | |||
| 17 | run: | | ||
| 18 | cmake . -B build -DZLIB_BUILD_MINIZIP=ON -DMINIZIP_ENABLE_BZIP2=ON &&\ | ||
| 19 | cmake --build build/ &&\ | ||
| 20 | ctest --test-dir build | ||
