commit 78295275625c9f5a6b802a678dbf85263dbc99ab
parent f0732fef0c482c8dc686cc40569159cd478362db
Author: NRK <nrk@disroot.org>
Date: Mon, 27 Jan 2025 16:05:19 +0000
fix ci
libreadline doesn't seem to be preinstalled on the new ubuntu
image.
Closes: https://github.com/jarun/nnn/issues/1986
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -46,6 +46,7 @@ jobs:
env:
CC: gcc
run: |
+ sudo apt install libreadline-dev
make checkpatches
ubuntu-cppcheck:
runs-on: ubuntu-latest
@@ -53,7 +54,7 @@ jobs:
- uses: actions/checkout@v2
- name: Static analysis with cppcheck
run: |
- sudo apt install cppcheck
+ sudo apt install cppcheck libreadline-dev
cppcheck --std="c11" --error-exitcode=1 --enable=performance,portability \
--force --inline-suppr --max-ctu-depth=8 -j"$(nproc)" \
$(pkg-config --cflags ncurses) src/nnn.c