diff options
| author | Andreas T Jonsson <mail@andreasjonsson.se> | 2024-04-25 12:46:55 +0200 |
|---|---|---|
| committer | Andreas T Jonsson <mail@andreasjonsson.se> | 2024-04-25 12:46:55 +0200 |
| commit | 101abb3004516f396add3be90676cd83cf518641 (patch) | |
| tree | 7583f23bfe8fdd6070b0e03bff0aede77a8b43cb /.github | |
| parent | ce80c37c751e2c59151ad5bcbb6137c560d72d64 (diff) | |
Simple CI setup for NetBSD
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0cbe8ad23..b34cc6a78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,28 @@ name: CI on: [push, pull_request, workflow_dispatch] jobs: + build_netbsd: + name: NetBSD Build, Check, and Test + runs-on: ubuntu-latest + env: + PKGSRC_BRANCH: 2024Q1 + steps: + - uses: actions/checkout@v4 + - name: Build and Test + id: netbsd + uses: vmactions/netbsd-vm@v1 + with: + release: "10.0" + envs: PKGSRC_BRANCH + usesh: true + copyback: false + prepare: | + export PKG_PATH="https://cdn.NetBSD.org/pub/pkgsrc/packages/NetBSD/$(uname -p)/$(uname -r | cut -d_ -f1)_${PKGSRC_BRANCH}/All" /usr/sbin/pkg_add pkgin + pkgin -y in llvm clang gmake git bash + run: | + gmake release + (cd tests/core; gmake) + (cd tests/internal; gmake) build_linux: name: Ubuntu Build, Check, and Test runs-on: ubuntu-latest |