aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-16 07:22:33 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-03-16 07:33:54 +0530
commit1cf50e738fff36c0bf7fea244cdd132ba13ff719 (patch)
tree120ce06ae2e499f80c7ea66d4369c3d1657c4bbf /.circleci/config.yml
parentb8a973a91ac406266befcb36599ce8df64d096b9 (diff)
downloadnnn-1cf50e738fff36c0bf7fea244cdd132ba13ff719.tar.gz
Add clang-9 to compilation matrix
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml11
1 files changed, 8 insertions, 3 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 48b02c2..be6666c 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -16,7 +16,7 @@ jobs:
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add -
apt-add-repository -y "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main"
apt update -qq
- apt install -y --no-install-recommends git gcc gcc-8 gcc-9 clang clang-8 clang-tidy-8 make pkg-config libncursesw5-dev libreadline-dev
+ apt install -y --no-install-recommends git gcc gcc-8 gcc-9 clang clang-8 clang-9 clang-tidy-9 make pkg-config libncursesw5-dev libreadline-dev
- checkout
- run:
command: |
@@ -48,8 +48,13 @@ jobs:
ls -l nnn
make clean
echo
- echo "########## clang-tidy-8 ##########"
- clang-tidy-8 src/* -- -I/usr/include -I/usr/include/ncursesw
+ echo "########## clang-9 ##########"
+ CC=clang-9 make strip
+ ls -l nnn
+ make clean
+ echo
+ echo "########## clang-tidy-9 ##########"
+ clang-tidy-9 src/* -- -I/usr/include -I/usr/include/ncursesw
echo "########## checllcheck ##########"
find plugins/ -type f -not -name "*.md" -exec shellcheck -e SC1090 {} +