diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-12-21 17:48:58 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-12-21 18:24:02 -0800 |
| commit | 7bd65214ce92cc2f60879d87a0c086aed9feab20 (patch) | |
| tree | a6cba92899d612a17f8367f93de2ec568d059ea8 /.github | |
| parent | 2d39d4966a0f10ee4e28a9495ae01ca319a34a35 (diff) | |
| download | nng-7bd65214ce92cc2f60879d87a0c086aed9feab20.tar.gz nng-7bd65214ce92cc2f60879d87a0c086aed9feab20.tar.bz2 nng-7bd65214ce92cc2f60879d87a0c086aed9feab20.zip | |
freebsd workflow
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/freebsd.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml new file mode 100644 index 00000000..ab869068 --- /dev/null +++ b/.github/workflows/freebsd.yml @@ -0,0 +1,32 @@ +name: freebsd + +on: + push: + paths-ignore: ["docs/**", "**.adoc", "**.md"] + pull_request: + paths-ignore: ["docs/**", "**.adoc", "**.md"] + +jobs: + test: + runs-on: ubuntu-latest + name: NNG test on FreeBSD via Qemu + env: + NNG_UDP_PASS_RATE: 10 + steps: + - uses: actions/checkout@v4 + - name: Test NNG in FreeBSD + id: test + uses: vmactions/freebsd-vm@v1 + with: + usesh: true + envs: NNG_UDP_PASS_RATE + prepare: | + pkg install -y lang/gcc + pkg install -y devel/cmake + pkg install -y devel/ninja + run: | + mkdir build + cd build + cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DNNG_TOOLS=OFF .. + ninja + ctest --output-on-failure |
