Skip to content

Commit 7d1927e

Browse files
Configure NetBSD CI
1 parent 46605da commit 7d1927e

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
@@ -215,6 +215,39 @@ jobs:
215215
run: LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
216216
shell: bash
217217

218+
build_channels_netbsd:
219+
permissions:
220+
contents: read # to fetch code (actions/checkout)
221+
222+
name: Build Channels NetBSD
223+
runs-on: ubuntu-latest
224+
env:
225+
OS: netbsd
226+
strategy:
227+
fail-fast: true
228+
matrix:
229+
toolchain: [
230+
1.71.0,
231+
stable,
232+
]
233+
steps:
234+
- uses: actions/checkout@v4
235+
- name: Run netbsd vm
236+
id: netbsd-ci
237+
uses: vmactions/netbsd-vm@v1
238+
with:
239+
envs: 'OS'
240+
usesh: true
241+
prepare: |
242+
/usr/sbin/pkg_add libnghttp2
243+
/usr/sbin/pkg_add curl
244+
curl https://sh.rustup.rs -sSf --output rustup.sh
245+
sh rustup.sh -y --default-toolchain nightly --profile=minimal
246+
. $HOME/.cargo/env
247+
run: |
248+
. $HOME/.cargo/env
249+
LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
250+
218251
check_cfg:
219252
permissions:
220253
contents: read # to fetch code (actions/checkout)

0 commit comments

Comments
 (0)