Skip to content

Commit

Permalink
Configure NetBSD CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaniel-bennett committed Oct 14, 2024
1 parent 575b510 commit f0d2715
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/full_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,39 @@ jobs:
- name: Execute run-docker.sh
run: sh ./ci/run-docker.sh ${{ matrix.target }}

build_channels_netbsd:
permissions:
contents: read # to fetch code (actions/checkout)

name: Build Channels NetBSD
runs-on: ubuntu-latest
env:
OS: netbsd
strategy:
fail-fast: true
matrix:
toolchain: [
1.71.0,
stable,
]
steps:
- uses: actions/checkout@v4
- name: Run netbsd vm
id: netbsd-ci
uses: vmactions/netbsd-vm@v1
with:
envs: 'OS'
usesh: true
prepare: |
/usr/sbin/pkg_add libnghttp2
/usr/sbin/pkg_add curl
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --default-toolchain nightly --profile=minimal
. $HOME/.cargo/env
run: |
. $HOME/.cargo/env
LIBC_CI=1 TOOLCHAIN=${{ matrix.toolchain }} sh ./ci/build.sh
check_cfg:
name: "Check #[cfg]s"
runs-on: ubuntu-22.04
Expand Down

0 comments on commit f0d2715

Please sign in to comment.