Skip to content

Commit

Permalink
ci: test build ncurses
Browse files Browse the repository at this point in the history
  • Loading branch information
Explorer09 committed Oct 27, 2024
1 parent d481a89 commit f576131
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,41 @@ env:
CPPFLAGS: -DGCC_PRINTF -DGCC_SCANF -D_FORTIFY_SOURCE=2

jobs:
test-ncurses-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: sudo apt-get install --no-install-recommends libncursesw5-dev libtool-bin
- name: Build
run: |
wget "https://ftp.gnu.org/gnu/ncurses/ncurses-6.5.tar.gz"
tar -x -f ncurses-6.5.tar.gz
cd ncurses-6.5
./configure \
--prefix=/usr/local \
\
--with-normal \
--with-shared \
\
--enable-reentrant \
--enable-widec \
\
--with-debug \
--with-profile \
--with-termlib=yes \
--with-pthread \
--enable-lib-suffixes \
--enable-pc-files \
--enable-symlinks \
--enable-warnings \
--disable-weak-symbols \
--with-pkg-config=yes \
--with-libtool
make
make install DESTDIR=$(pwd)/ncurses-install
( cd ncurses-install && find . -ls )
build-ubuntu-latest-minimal-gcc:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit f576131

Please sign in to comment.