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:
|
jobs:
|
||||||
compile:
|
compile:
|
||||||
docker:
|
docker:
|
||||||
- image: ubuntu:18.04
|
- image: ubuntu:20.04
|
||||||
working_directory: ~/nnn
|
working_directory: ~/nnn
|
||||||
environment:
|
environment:
|
||||||
CI_FORCE_TEST: 1
|
CI_FORCE_TEST: 1
|
||||||
|
@ -11,12 +11,11 @@ jobs:
|
||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
apt update -qq
|
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 install -y --no-install-recommends software-properties-common wget gpg-agent shellcheck
|
||||||
apt-add-repository -y ppa:jonathonf/gcc-9.1
|
apt install -y --no-install-recommends git make pkg-config libncurses-dev libreadline-dev
|
||||||
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|apt-key add -
|
apt install -y --no-install-recommends gcc gcc-7 gcc-8 gcc-10
|
||||||
apt-add-repository -y "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-8 main"
|
apt install -y --no-install-recommends clang clang-6.0 clang-7 clang-8 clang-9 clang-tidy-10
|
||||||
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
|
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
|
@ -28,13 +27,18 @@ jobs:
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
echo
|
echo
|
||||||
|
echo "########## gcc-7 ##########"
|
||||||
|
CC=gcc-7 make strip
|
||||||
|
ls -l nnn
|
||||||
|
make clean
|
||||||
|
echo
|
||||||
echo "########## gcc-8 ##########"
|
echo "########## gcc-8 ##########"
|
||||||
CC=gcc-8 make strip
|
CC=gcc-8 make strip
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
echo
|
echo
|
||||||
echo "########## gcc-9 ##########"
|
echo "########## gcc-10 ##########"
|
||||||
CC=gcc-9 make strip
|
CC=gcc-8 make strip
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
echo
|
echo
|
||||||
|
@ -43,6 +47,16 @@ jobs:
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
echo
|
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 ##########"
|
echo "########## clang-8 ##########"
|
||||||
CC=clang-8 make strip
|
CC=clang-8 make strip
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
|
@ -53,8 +67,8 @@ jobs:
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
echo
|
echo
|
||||||
echo "########## clang-tidy-9 ##########"
|
echo "########## clang-tidy-10 ##########"
|
||||||
clang-tidy-9 src/* -- -I/usr/include -I/usr/include/ncursesw
|
clang-tidy-10 src/* -- -I/usr/include -I/usr/include/ncursesw
|
||||||
echo "########## shellcheck ##########"
|
echo "########## shellcheck ##########"
|
||||||
find plugins/ -type f -not -name "*.md" -exec shellcheck -e SC1090 {} +
|
find plugins/ -type f -not -name "*.md" -exec shellcheck -e SC1090 {} +
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue