Skip to content

Commit

Permalink
Move to Ubuntu 22.04 on CircleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
jarun committed Aug 7, 2023
1 parent af329e4 commit f455650
Showing 1 changed file with 23 additions and 28 deletions.
51 changes: 23 additions & 28 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
jobs:
compile:
docker:
- image: ubuntu:20.04
- image: ubuntu:22.04
working_directory: ~/bcal
environment:
CI_FORCE_TEST: 1
Expand All @@ -13,24 +13,14 @@ jobs:
apt update -qq
DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-get -y install tzdata
apt install -y --no-install-recommends git make 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 bcal
make clean
echo
echo "########## gcc-8 ##########"
CC=gcc-8 make strip
ls -l bcal
make clean
echo
echo "########## gcc-9 ##########"
CC=gcc-9 make strip
ls -l bcal
Expand All @@ -41,38 +31,43 @@ jobs:
ls -l bcal
make clean
echo
echo "########## clang-6 ##########"
CC=clang-6.0 make strip
echo "########## gcc-11 ##########"
CC=gcc-11 make strip
ls -l bcal
make clean
echo
echo "########## clang-7 ##########"
CC=clang-7 make strip
echo "########## gcc-12 ##########"
CC=gcc-12 make strip
ls -l bcal
make clean
echo
echo "########## clang-8 ##########"
CC=clang-8 make strip
echo "########## clang-11 ##########"
CC=clang-11 make strip
ls -l bcal
make clean
echo
echo "########## clang-9 ##########"
CC=clang-9 make strip
echo "########## clang-12 ##########"
CC=clang-12 make strip
ls -l bcal
make clean
echo
echo "########## clang-10 ##########"
CC=clang-10 make strip
echo "########## clang-13 ##########"
CC=clang-13 make strip
ls -l bcal
make clean
echo
echo "########## clang-11 ##########"
CC=clang-11 make strip
echo "########## clang-14 ##########"
CC=clang-14 make strip
ls -l bcal
make clean
echo
echo "########## clang-15 ##########"
CC=clang-15 make strip
ls -l bcal
make clean
echo
echo "########## clang-tidy-11 ##########"
clang-tidy-11 **/*.h **/*.c -- -Iinc
echo "########## clang-tidy-15 ##########"
clang-tidy-15 **/*.h **/*.c -- -Iinc
package-and-publish:
machine: true
Expand Down Expand Up @@ -104,7 +99,7 @@ jobs:
workflows:
version: 2

test:
circleci:
jobs: &all-tests
- compile

Expand Down

0 comments on commit f455650

Please sign in to comment.