mirror of
https://github.com/jarun/nnn.git
synced 2025-01-15 21:36:42 +00:00
Move to Ubuntu 22.04 on Circle CI
This commit is contained in:
parent
693ba757c0
commit
186f9d01ea
|
@ -3,7 +3,7 @@ version: 2
|
||||||
jobs:
|
jobs:
|
||||||
compile:
|
compile:
|
||||||
docker:
|
docker:
|
||||||
- image: ubuntu:20.04
|
- image: ubuntu:22.04
|
||||||
working_directory: ~/nnn
|
working_directory: ~/nnn
|
||||||
environment:
|
environment:
|
||||||
CI_FORCE_TEST: 1
|
CI_FORCE_TEST: 1
|
||||||
|
@ -14,24 +14,14 @@ jobs:
|
||||||
DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-get -y install tzdata
|
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 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-9 gcc-10 gcc-11 gcc-12
|
||||||
apt install -y --no-install-recommends clang-6.0 clang-7 clang-8 clang-9 clang-10 clang-11 clang-tidy-11
|
apt install -y --no-install-recommends clang-11 clang-12 clang-13 clang-14 clang-15 clang-tidy-15
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
export CFLAGS=-Werror
|
export CFLAGS=-Werror
|
||||||
make clean
|
make clean
|
||||||
echo
|
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 ##########"
|
echo "########## gcc-9 ##########"
|
||||||
CC=gcc-9 make strip
|
CC=gcc-9 make strip
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
|
@ -42,28 +32,13 @@ jobs:
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
echo
|
echo
|
||||||
echo "########## clang-6 ##########"
|
echo "########## gcc-11 ##########"
|
||||||
CC=clang-6.0 make strip
|
CC=gcc-11 make strip
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
echo
|
echo
|
||||||
echo "########## clang-7 ##########"
|
echo "########## gcc-12 ##########"
|
||||||
CC=clang-7 make strip
|
CC=gcc-12 make strip
|
||||||
ls -l nnn
|
|
||||||
make clean
|
|
||||||
echo
|
|
||||||
echo "########## clang-8 ##########"
|
|
||||||
CC=clang-8 make strip
|
|
||||||
ls -l nnn
|
|
||||||
make clean
|
|
||||||
echo
|
|
||||||
echo "########## clang-9 ##########"
|
|
||||||
CC=clang-9 make strip
|
|
||||||
ls -l nnn
|
|
||||||
make clean
|
|
||||||
echo
|
|
||||||
echo "########## clang-10 ##########"
|
|
||||||
CC=clang-10 make strip
|
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
echo
|
echo
|
||||||
|
@ -72,8 +47,23 @@ jobs:
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
echo
|
echo
|
||||||
echo "########## clang-tidy-11 ##########"
|
echo "########## clang-12 ##########"
|
||||||
clang-tidy-11 src/* -- -I/usr/include -I/usr/include/ncursesw
|
CC=clang-12 make strip
|
||||||
|
ls -l nnn
|
||||||
|
make clean
|
||||||
|
echo
|
||||||
|
echo "########## clang-13 ##########"
|
||||||
|
CC=clang-13 make strip
|
||||||
|
ls -l nnn
|
||||||
|
make clean
|
||||||
|
echo
|
||||||
|
echo "########## clang-14 ##########"
|
||||||
|
CC=clang-14 make strip
|
||||||
|
ls -l nnn
|
||||||
|
make clean
|
||||||
|
echo
|
||||||
|
echo "########## clang-tidy-15 ##########"
|
||||||
|
clang-tidy-15 src/* -- -I/usr/include -I/usr/include/ncursesw
|
||||||
echo "########## shellcheck ##########"
|
echo "########## shellcheck ##########"
|
||||||
find plugins/ -type f -not -name "*.md" -exec shellcheck {} +
|
find plugins/ -type f -not -name "*.md" -exec shellcheck {} +
|
||||||
|
|
||||||
|
@ -107,7 +97,7 @@ jobs:
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
test:
|
circleci:
|
||||||
jobs: &all-tests
|
jobs: &all-tests
|
||||||
- compile
|
- compile
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue