aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-12-21 22:50:55 -0800
committerGarrett D'Amore <garrett@damore.org>2024-12-21 22:59:37 -0800
commitfc6c4e1c729ebdd319b5ab4a79a913e05d8b497c (patch)
tree744bbbd756582e4dcc1c7a30ca1aebb6be0a9e7f /.github/workflows
parentec709cc4a126b3938446e58c7cce4c026ede4d02 (diff)
downloadnng-fc6c4e1c729ebdd319b5ab4a79a913e05d8b497c.tar.gz
nng-fc6c4e1c729ebdd319b5ab4a79a913e05d8b497c.tar.bz2
nng-fc6c4e1c729ebdd319b5ab4a79a913e05d8b497c.zip
OmniOS tests (this covers illumos and Solaris mostly, which uses the port poller.)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/omnios.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/omnios.yml b/.github/workflows/omnios.yml
new file mode 100644
index 00000000..b0452eb5
--- /dev/null
+++ b/.github/workflows/omnios.yml
@@ -0,0 +1,34 @@
+name: omnios
+
+on:
+ push:
+ paths-ignore: ["docs/**", "**.adoc", "**.md"]
+ pull_request:
+ paths-ignore: ["docs/**", "**.adoc", "**.md"]
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ name: NNG test on OmniOS via Qemu
+ env:
+ NNG_UDP_PASS_RATE: 10
+ steps:
+ - uses: actions/checkout@v4
+ - name: Test NNG in OmniOS
+ id: test
+ uses: vmactions/omnios-vm@v1
+ with:
+ usesh: true
+ sync: rsync
+ copyback: false
+ envs: NNG_UDP_PASS_RATE
+ prepare: |
+ pkg install develeper/clang-19
+ pkg install developer/ninja
+ pkg install developer/cmake
+ run: |
+ mkdir build
+ cd build
+ cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DNNG_TOOLS=OFF ..
+ ninja
+ ctest --output-on-failure