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

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:
permissions:
contents: read # to fetch code (actions/checkout)
Expand Down

0 comments on commit 7d1927e

Please sign in to comment.