From 27e9018b0c2ea304f0faef6cf6efbc3b92d2b958 Mon Sep 17 00:00:00 2001 From: Thomas Klausner Date: Mon, 30 Dec 2024 16:48:58 +0100 Subject: [PATCH] ga: add a NetBSD build action --- .github/workflows/bsd.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/bsd.yml diff --git a/.github/workflows/bsd.yml b/.github/workflows/bsd.yml new file mode 100644 index 000000000..923fb5373 --- /dev/null +++ b/.github/workflows/bsd.yml @@ -0,0 +1,23 @@ +name: BSD +on: [push] +jobs: + NetBSD: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v4 + - name: configure and build + uses: vmactions/netbsd-vm@v1 + with: + usesh: true + copyback: false + prepare: + /usr/sbin/pkg_add cmake zstd py313-pip + /usr/pkg/bin/pip-3.13 install nihtest + # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/workflow-commands-for-github-actions#adding-a-system-path + echo "/usr/pkg/bin" >> "$GITHUB_PATH" + run: | + cmake -E make_directory ${{runner.workspace}}/build + cmake ${{ matrix.cmake_extra }} ${{github.workspace}} + cmake --build . --config Release + ctest --output-on-failure -V -C Release