From 56b55e7c9bd4ce3c9e3652a59894c629ae0d128c Mon Sep 17 00:00:00 2001 From: "Roland C. Dowdeswell" Date: Sun, 24 May 2026 10:35:08 +0100 Subject: [PATCH] add CI/CD for libedit and readline --- .github/workflows/linux.yml | 4 +++- .github/workflows/osx.yml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 6c8746067..a8d57a7c6 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -63,6 +63,7 @@ jobs: os: ubuntu-22.04 compiler: gcc cflags: '-Wnonnull' + configureopts: '--with-readline=yes' steps: - name: Clone repository uses: actions/checkout@v4 @@ -73,7 +74,7 @@ jobs: sudo apt-get install -y bison comerr-dev flex doxygen sudo apt-get install -y libcap-ng-dev libdb-dev libedit-dev libjson-perl sudo apt-get install -y libldap2-dev libncurses5-dev libperl4-corelibs-perl - sudo apt-get install -y libsqlite3-dev libkeyutils-dev pkg-config python3 + sudo apt-get install -y libsqlite3-dev libkeyutils-dev libreadline-dev pkg-config python3 sudo apt-get install -y ss-dev texinfo unzip netbase keyutils ldap-utils sudo apt-get install -y gdb apport curl libmicrohttpd-dev jq valgrind # Temporary workaround for: @@ -83,6 +84,7 @@ jobs: env: CC: ${{ matrix.compiler }} MAKEVARS: ${{ matrix.makevars }} + CONFIGURE_OPTS: ${{ matrix.configureopts }} run: | /bin/sh ./autogen.sh mkdir build diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index cfcffdd4a..730cea3ac 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -62,6 +62,7 @@ jobs: - name: osx-clang os: macos-latest compiler: clang + configureopts: '--with-libedit=yes' steps: - name: Install packages run: |