Skip to content

Commit

Permalink
CI: Fix NetBSD build.
Browse files Browse the repository at this point in the history
  • Loading branch information
fraggerfox committed Aug 4, 2024
1 parent 3252406 commit f357250
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -Wl,-R/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 f357250

Please sign in to comment.