Skip to content

Commit

Permalink
ga: add a NetBSD build action
Browse files Browse the repository at this point in the history
  • Loading branch information
0-wiz-0 committed Dec 30, 2024
1 parent afb3ae7 commit 27e9018
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 27e9018

Please sign in to comment.