From 186f9d01ea5696fbe2fb45e710c49e2ec94056a6 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 7 Aug 2023 06:11:55 +0530 Subject: [PATCH] Move to Ubuntu 22.04 on Circle CI --- .circleci/config.yml | 46 +++++++++++++++++--------------------------- 1 file changed, 18 insertions(+), 28 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b6a58ba7..372f8b557 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,7 +3,7 @@ version: 2 jobs: compile: docker: - - image: ubuntu:20.04 + - image: ubuntu:22.04 working_directory: ~/nnn environment: CI_FORCE_TEST: 1 @@ -14,24 +14,14 @@ jobs: 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 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 clang-6.0 clang-7 clang-8 clang-9 clang-10 clang-11 clang-tidy-11 + apt install -y --no-install-recommends gcc-9 gcc-10 gcc-11 gcc-12 + apt install -y --no-install-recommends clang-11 clang-12 clang-13 clang-14 clang-15 clang-tidy-15 - checkout - run: command: | export CFLAGS=-Werror 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 ls -l nnn @@ -42,38 +32,38 @@ jobs: ls -l nnn make clean echo - echo "########## clang-6 ##########" - CC=clang-6.0 make strip + echo "########## gcc-11 ##########" + CC=gcc-11 make strip ls -l nnn make clean echo - echo "########## clang-7 ##########" - CC=clang-7 make strip + echo "########## gcc-12 ##########" + CC=gcc-12 make strip ls -l nnn make clean echo - echo "########## clang-8 ##########" - CC=clang-8 make strip + echo "########## clang-11 ##########" + CC=clang-11 make strip ls -l nnn make clean echo - echo "########## clang-9 ##########" - CC=clang-9 make strip + echo "########## clang-12 ##########" + CC=clang-12 make strip ls -l nnn make clean echo - echo "########## clang-10 ##########" - CC=clang-10 make strip + echo "########## clang-13 ##########" + CC=clang-13 make strip ls -l nnn make clean echo - echo "########## clang-11 ##########" - CC=clang-11 make strip + echo "########## clang-14 ##########" + CC=clang-14 make strip ls -l nnn make clean echo - echo "########## clang-tidy-11 ##########" - clang-tidy-11 src/* -- -I/usr/include -I/usr/include/ncursesw + echo "########## clang-tidy-15 ##########" + clang-tidy-15 src/* -- -I/usr/include -I/usr/include/ncursesw echo "########## shellcheck ##########" find plugins/ -type f -not -name "*.md" -exec shellcheck {} + @@ -107,7 +97,7 @@ jobs: workflows: version: 2 - test: + circleci: jobs: &all-tests - compile