Skip to content

Commit

Permalink
CI: Fix NetBSD build.
Browse files Browse the repository at this point in the history
  • Loading branch information
fraggerfox authored and BenBE committed Aug 5, 2024
1 parent 11bf6a7 commit c0bb3a4
Showing 1 changed file with 24 additions and 28 deletions.
52 changes: 24 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,34 +241,30 @@ jobs:
./configure --enable-unicode --enable-werror
gmake -k
# This is broken since the ncursesw merge in NetBSD, cf.
# https://github.com/NetBSD/pkgsrc/commit/4f72c2c3a2081165a195b2667bbd5e2030397442
# DL240722, disabling this until somebody with NetBSD can fix the build
#
# 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 --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 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
Expand Down

0 comments on commit c0bb3a4

Please sign in to comment.