Skip to content

Commit f0d2715

Browse files
Configure NetBSD CI
1 parent 575b510 commit f0d2715

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/full_ci.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,39 @@ jobs:
186186
- name: Execute run-docker.sh
187187
run: sh ./ci/run-docker.sh ${{ matrix.target }}
188188

189+
build_channels_netbsd:
190+
permissions:
191+
contents: read # to fetch code (actions/checkout)
192+
193+
name: Build Channels NetBSD
194+
runs-on: ubuntu-latest
195+
env:
196+
OS: netbsd
197+
strategy:
198+
fail-fast: true
199+
matrix:
200+
toolchain: [
201+
1.71.0,
202+
stable,
203+
]
204+
steps:
205+
- uses: actions/checkout@v4
206+
- name: Run netbsd vm
207+
id: netbsd-ci
208+
uses: vmactions/netbsd-vm@v1
209+
with:
210+
envs: 'OS'
211+
usesh: true
212+
prepare: |
213+
/usr/sbin/pkg_add libnghttp2
214+
/usr/sbin/pkg_add curl
215+
curl https://sh.rustup.rs -sSf --output rustup.sh
216+
sh rustup.sh -y --default-toolchain nightly --profile=minimal
217+
. $HOME/.cargo/env
218+
run: |
219+
. $HOME/.cargo/env
220+
LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
221+
189222
check_cfg:
190223
name: "Check #[cfg]s"
191224
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)