From fc6c4e1c729ebdd319b5ab4a79a913e05d8b497c Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 21 Dec 2024 22:50:55 -0800 Subject: OmniOS tests (this covers illumos and Solaris mostly, which uses the port poller.) --- .github/workflows/omnios.yml | 34 ++++++++++++++++++++++++++++++++++ README.md | 1 + 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/omnios.yml 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 diff --git a/README.md b/README.md index 1f72a195..0926a968 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![Windows Status](https://img.shields.io/github/actions/workflow/status/nanomsg/nng/windows.yml?branch=main&logoColor=grey&logo=data:image/svg%2bxml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0ODc1IDQ4NzUiPjxwYXRoIGZpbGw9ImdyZXkiIGQ9Ik0wIDBoMjMxMXYyMzEwSDB6bTI1NjQgMGgyMzExdjIzMTBIMjU2NHpNMCAyNTY0aDIzMTF2MjMxMUgwem0yNTY0IDBoMjMxMXYyMzExSDI1NjQiLz48L3N2Zz4=&label=)](https://github.com/nanomsg/nng/actions) [![macOS Status](https://img.shields.io/github/actions/workflow/status/nanomsg/nng/darwin.yml?branch=main&logoColor=grey&logo=apple&label=)](https://github.com/nanomsg/nng/actions) [![FreeBSD Status](https://img.shields.io/github/actions/workflow/status/nanomsg/nng/freebsd.yml?branch=main&logoColor=grey&logo=freebsd&label=)](https://github.com/nanomsg/nng/actions) +[![illumos Status](https://img.shields.io/github/actions/workflow/status/nanomsg/nng/omnios.yml?branch=main&logoColor=grey&logo=accuweather&label=)](https://github.com/nanomsg/nng/actions) [![Coverage](https://img.shields.io/codecov/c/github/nanomsg/nng/branch/main?logo=codecov&logoColor=grey&label=)](https://codecov.io/gh/nanomsg/nng/tree/main) [![Discord](https://img.shields.io/discord/639573728212156478?label=&logo=discord)](https://discord.gg/Xnac6b9) [![Manual](https://img.shields.io/static/v1?label=&message=docs&logo=asciidoctor&logoColor=silver&color=blue)](https://nng.nanomsg.org/man) -- cgit v1.2.3-70-g09d2