Skip to content

Commit 2064b7a

Browse files
Configure NetBSD CI
1 parent fbec928 commit 2064b7a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/full_ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,34 @@ 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+
steps:
200+
- uses: actions/checkout@v4
201+
- name: Run netbsd vm
202+
id: netbsd-ci
203+
uses: vmactions/netbsd-vm@v1
204+
with:
205+
envs: 'OS'
206+
usesh: true
207+
prepare: |
208+
/usr/sbin/pkg_add curl
209+
curl https://sh.rustup.rs -sSf --output rustup.sh
210+
sh rustup.sh -y --default-toolchain nightly --profile=minimal
211+
. $HOME/.cargo/env
212+
run: |
213+
. $HOME/.cargo/env
214+
LIBC_CI=1 sh ci/run.sh x86_64-unknown-netbsd
215+
sh ci/run.sh x86_64-unknown-netbsd
216+
189217
check_cfg:
190218
name: "Check #[cfg]s"
191219
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)