Add clang 11 to CI

This commit is contained in:
Arun Prakash Jana 2021-04-17 01:22:49 +05:30
parent 30e1c54e0e
commit 2b94c29e1d
No known key found for this signature in database
GPG key ID: A75979F35C080412

View file

@ -15,7 +15,7 @@ jobs:
apt install -y --no-install-recommends software-properties-common wget gpg-agent shellcheck apt install -y --no-install-recommends software-properties-common wget gpg-agent shellcheck
apt install -y --no-install-recommends git make pkg-config libncurses-dev libreadline-dev apt install -y --no-install-recommends git make pkg-config libncurses-dev libreadline-dev
apt install -y --no-install-recommends gcc-7 gcc-8 gcc-9 gcc-10 apt install -y --no-install-recommends gcc-7 gcc-8 gcc-9 gcc-10
apt install -y --no-install-recommends clang-6.0 clang-7 clang-8 clang-9 clang-10 clang-tidy-10 apt install -y --no-install-recommends clang-6.0 clang-7 clang-8 clang-9 clang-10 clang-11 clang-tidy-11
- checkout - checkout
- run: - run:
command: | command: |
@ -67,8 +67,13 @@ jobs:
ls -l nnn ls -l nnn
make clean make clean
echo echo
echo "########## clang-11 ##########"
CC=clang-11 make strip
ls -l nnn
make clean
echo
echo "########## clang-tidy-10 ##########" echo "########## clang-tidy-10 ##########"
clang-tidy-10 src/* -- -I/usr/include -I/usr/include/ncursesw clang-tidy-11 src/* -- -I/usr/include -I/usr/include/ncursesw
echo "########## shellcheck ##########" echo "########## shellcheck ##########"
find plugins/ -type f -not -name "*.md" -exec shellcheck -e SC1090,SC2230 {} + find plugins/ -type f -not -name "*.md" -exec shellcheck -e SC1090,SC2230 {} +