From 188bbd67242a83e94a9e6f9c087a9b303f4791cf Mon Sep 17 00:00:00 2001 From: fraggerfox Date: Sun, 4 Aug 2024 19:14:34 +0200 Subject: [PATCH] CI: Fix NetBSD build. --- .github/workflows/ci.yml | 48 ++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4818040a..76538034a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -241,30 +241,30 @@ 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: '10.0' - usesh: true - prepare: | - PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH" - PKG_PATH="https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/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 --disable-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: '10.0' + usesh: true + prepare: | + PATH="/usr/pkg/sbin:/usr/pkg/bin:$PATH" + PKG_PATH="https://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/10.0/All/" + export PATH PKG_PATH + /usr/sbin/pkg_add pkgin + pkgin -y install autoconf automake libtool ncurses gmake git + git config --global --add safe.directory /home/runner/work/htop/htop + run: | + set -e + ./autogen.sh + CPPFLAGS="-I/usr/pkg/include -I/usr/pkg/include/ncurses" LDFLAGS="-L/usr/pkg/lib" ./configure --enable-unicode --enable-werror + gmake -k build-openbsd-latest-clang: runs-on: ubuntu-22.04