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 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/omnios.yml (limited to '.github') 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 -- cgit v1.2.3-70-g09d2