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: |