Skip to content

Commit

Permalink
OmniOS tests (this covers illumos and Solaris mostly, which uses the …
Browse files Browse the repository at this point in the history
…port poller.)
  • Loading branch information
gdamore committed Dec 22, 2024
1 parent ec709cc commit 545ee1d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/omnios.yml
Original file line number Diff line number Diff line change
@@ -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 -y develeper/clang-19
pkg install -y developer/ninja
pkg install -y developer/cmake
run: |
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DNNG_TOOLS=OFF ..
ninja
ctest --output-on-failure
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 545ee1d

Please sign in to comment.