File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed
Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 55 pull_request :
66
77jobs :
8+ build-netbsd :
9+ runs-on : ubuntu-latest
10+ name : build • netbsd
11+ defaults :
12+ run :
13+ shell : netbsd {0}
14+ steps :
15+ - uses : actions/checkout@v6
16+
17+ - name : Start NetBSD VM
18+ uses : vmactions/netbsd-vm@v1
19+ with :
20+ prepare : |
21+ /usr/sbin/pkg_add cmake ninja-build gcc15 git-base bash
22+ # capnproto build dependencies.
23+ /usr/sbin/pkg_add libtool-base mktools pkgconf cwrappers
24+ run : |
25+ git clone --depth=1 https://github.com/NetBSD/pkgsrc.git /usr/pkgsrc
26+ sync : ' rsync'
27+ copyback : false
28+
29+ # The prebuilt capnproto package is broken because it was built with GCC 10.5.0.
30+ # This could be reconsidered once GCC is updated to 14.1 or newer,
31+ # or if switching to Clang.
32+ - name : Install capnproto
33+ run : |
34+ cd /usr/pkgsrc/devel/capnproto/
35+ env -u PKG_PATH make CPPFLAGS='-DKJ_NO_EXCEPTIONS=0' install
36+
37+ - name : Run CI script
38+ run : |
39+ cd ${{ github.workspace }}
40+ CI_CONFIG="ci/configs/netbsd.bash" bash ci/scripts/ci.sh
41+
842 build-openbsd :
943 runs-on : ubuntu-latest
1044 name : build • openbsd
Original file line number Diff line number Diff line change 1+ CI_DESC=" CI config for NetBSD"
2+ CI_DIR=build-netbsd
3+ export CXXFLAGS=" -Werror -Wall -Wextra -Wpedantic"
4+ export CXX=" /usr/pkg/gcc15/bin/g++"
5+ CMAKE_ARGS=(-G Ninja)
6+ BUILD_ARGS=(-k 0)
You can’t perform that action at this time.
0 commit comments