mirror of
https://github.com/jarun/nnn.git
synced 2025-02-06 00:10:36 +00:00
fix ci
libreadline doesn't seem to be preinstalled on the new ubuntu image. Closes: https://github.com/jarun/nnn/issues/1986
This commit is contained in:
parent
f0732fef0c
commit
7829527562
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue