diff options
author | fraggerfox <santhosh.raju@gmail.com> | 2024-02-24 10:27:57 +0100 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2024-02-29 18:54:37 +0100 |
commit | 553039102bf4a08cfde5e5eda253604a6632c1a4 (patch) | |
tree | e17c8a19b2e43d20432571b99d99cbf762aad256 | |
parent | 26ad7ef6a9cc147304f64b8059707a920b573b29 (diff) |
Add NetBSD to the CI
-rw-r--r-- | .github/workflows/ci.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0c0298f..00852697 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -218,6 +218,31 @@ jobs: ./configure --enable-unicode --enable-werror gmake -k + build-netbsd-latest-gcc: + runs-on: ubuntu-22.04 + timeout-minutes: 20 + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + - name: Compile + uses: vmactions/netbsd-vm@v1 + with: + release: '9.3' + usesh: true + prepare: | + PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH" + PKG_PATH="https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.3/All/" + export PATH PKG_PATH + /usr/sbin/pkg_add pkgin + pkgin -y install autoconf automake libtool ncurses ncursesw gmake git + git config --global --add safe.directory /home/runner/work/htop/htop + run: | + set -e + ./autogen.sh + CPPFLAGS="-I/usr/pkg/include" ./configure --enable-unicode --enable-werror + gmake -k + whitespace_check: runs-on: ubuntu-latest steps: |