From 7d1927e62efcd29a2f5a44934555ae7a68a31870 Mon Sep 17 00:00:00 2001 From: Nathaniel Date: Mon, 14 Oct 2024 09:00:35 -0400 Subject: [PATCH] Configure NetBSD CI --- .github/workflows/full_ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/.github/workflows/full_ci.yml b/.github/workflows/full_ci.yml index 042d81b158c0c..737d2a2282b96 100644 --- a/.github/workflows/full_ci.yml +++ b/.github/workflows/full_ci.yml @@ -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)