mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 03:41:27 +00:00
Circle CI - move to Ubuntu 20.04
This commit is contained in:
parent
58bb63633d
commit
63315c88d2
|
@ -3,7 +3,7 @@ version: 2
|
|||
jobs:
|
||||
compile:
|
||||
docker:
|
||||
- image: ubuntu:18.04
|
||||
- image: ubuntu:20.04
|
||||
working_directory: ~/nnn
|
||||
environment:
|
||||
CI_FORCE_TEST: 1
|
||||
|
@ -11,12 +11,11 @@ jobs:
|
|||
- run:
|
||||
command: |
|
||||
apt update -qq
|
||||
DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-get -y install tzdata
|
||||
apt install -y --no-install-recommends software-properties-common wget gpg-agent shellcheck
|
||||
apt-add-repository -y ppa:jonathonf/gcc-9.1
|
||||
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-9 clang-tidy-9 make pkg-config libncursesw5-dev libreadline-dev
|
||||
apt install -y --no-install-recommends git make pkg-config libncurses-dev libreadline-dev
|
||||
apt install -y --no-install-recommends gcc gcc-7 gcc-8 gcc-10
|
||||
apt install -y --no-install-recommends clang clang-6.0 clang-7 clang-8 clang-9 clang-tidy-10
|
||||
- checkout
|
||||
- run:
|
||||
command: |
|
||||
|
@ -28,13 +27,18 @@ jobs:
|
|||
ls -l nnn
|
||||
make clean
|
||||
echo
|
||||
echo "########## gcc-7 ##########"
|
||||
CC=gcc-7 make strip
|
||||
ls -l nnn
|
||||
make clean
|
||||
echo
|
||||
echo "########## gcc-8 ##########"
|
||||
CC=gcc-8 make strip
|
||||
ls -l nnn
|
||||
make clean
|
||||
echo
|
||||
echo "########## gcc-9 ##########"
|
||||
CC=gcc-9 make strip
|
||||
echo "########## gcc-10 ##########"
|
||||
CC=gcc-8 make strip
|
||||
ls -l nnn
|
||||
make clean
|
||||
echo
|
||||
|
@ -43,6 +47,16 @@ jobs:
|
|||
ls -l nnn
|
||||
make clean
|
||||
echo
|
||||
echo "########## clang-6 ##########"
|
||||
CC=clang-6.0 make strip
|
||||
ls -l nnn
|
||||
make clean
|
||||
echo
|
||||
echo "########## clang-7 ##########"
|
||||
CC=clang-7 make strip
|
||||
ls -l nnn
|
||||
make clean
|
||||
echo
|
||||
echo "########## clang-8 ##########"
|
||||
CC=clang-8 make strip
|
||||
ls -l nnn
|
||||
|
@ -53,8 +67,8 @@ jobs:
|
|||
ls -l nnn
|
||||
make clean
|
||||
echo
|
||||
echo "########## clang-tidy-9 ##########"
|
||||
clang-tidy-9 src/* -- -I/usr/include -I/usr/include/ncursesw
|
||||
echo "########## clang-tidy-10 ##########"
|
||||
clang-tidy-10 src/* -- -I/usr/include -I/usr/include/ncursesw
|
||||
echo "########## shellcheck ##########"
|
||||
find plugins/ -type f -not -name "*.md" -exec shellcheck -e SC1090 {} +
|
||||
|
||||
|
|
Loading…
Reference in a new issue