Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,28 @@ on:
pull_request:

jobs:
build-netbsd:
runs-on: ubuntu-latest
name: build • netbsd
defaults:
run:
shell: netbsd {0}
steps:
- uses: actions/checkout@v5

- name: Start NetBSD VM
uses: vmactions/netbsd-vm@v1
with:
prepare: |
pkg_add cmake ninja-build gcc14 pkg-config capnproto bash
sync: 'rsync'
copyback: false

- name: Run CI script
run: |
cd ${{ github.workspace }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Could address #195 (comment) while touching this file?

Copy link
Member Author

@hebasto hebasto Aug 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Could address #195 (comment) while touching this file?

Responded here.

UPD. If this line is dropped, the job fails:

bash: ci/scripts/ci.sh: No such file or directory

CI_CONFIG="ci/configs/netbsd.bash" bash ci/scripts/ci.sh

build-openbsd:
runs-on: ubuntu-latest
name: build • openbsd
Expand Down
6 changes: 6 additions & 0 deletions ci/configs/netbsd.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CI_DESC="CI config for NetBSD"
CI_DIR=build-netbsd
export CXXFLAGS="-Werror -Wall -Wextra -Wpedantic -Wno-unused-parameter"
export CXX="/usr/pkg/gcc14/bin/g++"
CMAKE_ARGS=(-G Ninja)
BUILD_ARGS=(-k 0)
Loading