File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,41 @@ jobs:
122122 - name : Cross compilation
123123 run : .github/scripts/cmake-win${{ matrix.bits }} script
124124
125+ build-netbsd :
126+ runs-on : ubuntu-latest
127+ steps :
128+ - uses : actions/checkout@v4
129+ with :
130+ submodules : recursive
131+ - name : Test in NetBSD
132+ id : test
133+ uses : vmactions/netbsd-vm@v1
134+ with :
135+ usesh : true
136+ copyback : false
137+ prepare :
138+ /usr/sbin/pkg_add
139+ cmake
140+ googletest
141+ libconfig
142+ libopus
143+ libsodium
144+ libvpx
145+ pkg-config
146+
147+ run : |
148+ # TODO(iphydf): Investigate NetBSD failures on these tests.
149+ sed -Ei -e '/(TCP|dht_getnodes_api)/s/^/#/' auto_tests/CMakeLists.txt
150+ cmake . \
151+ -DMIN_LOGGER_LEVEL=TRACE \
152+ -DMUST_BUILD_TOXAV=ON \
153+ -DNON_HERMETIC_TESTS=ON \
154+ -DTEST_TIMEOUT_SECONDS=90 \
155+ -DUSE_IPV6=OFF \
156+ -DAUTOTEST=ON
157+ cmake --build . --target install
158+ ctest -j50 --output-on-failure --rerun-failed --repeat until-pass:6
159+
125160 mypy :
126161 runs-on : ubuntu-latest
127162 steps :
You can’t perform that action at this time.
0 commit comments