From d51f889944f3079a9a33994f5bd425e0d38af471 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 13 Apr 2019 11:26:19 +0530 Subject: Add CircleCI gcc all --- .circleci/config.yml | 53 +++++++--------------------------------------------- 1 file changed, 7 insertions(+), 46 deletions(-) (limited to '.circleci/config.yml') diff --git a/.circleci/config.yml b/.circleci/config.yml index 3782b33..0534e7f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,64 +6,27 @@ jobs: - image: ubuntu:18.04 working_directory: ~/nnn environment: - CC: gcc CI_FORCE_TEST: 1 steps: - run: command: | apt update -qq - apt install -y --no-install-recommends git gcc make pkg-config libncursesw5-dev libreadline-dev - - checkout - - run: - command: | - export CFLAGS=-Werror - make clean - make strip - ls -l nnn - make clean - - gcc-8: - docker: - - image: ubuntu:18.04 - working_directory: ~/nnn - environment: - CC: gcc-8 - CI_FORCE_TEST: 1 - steps: - - run: - command: | + apt install -y --no-install-recommends software-properties-common + apt-add-repository -y ppa:jonathonf/gcc-9.0 apt update -qq - apt install -y --no-install-recommends git gcc-8 make pkg-config libncursesw5-dev libreadline-dev + apt install -y --no-install-recommends git gcc gcc-8 gcc-9 make pkg-config libncursesw5-dev libreadline-dev - checkout - run: command: | export CFLAGS=-Werror make clean - make strip + CC=gcc make strip ls -l nnn make clean - - gcc-9: - docker: - - image: ubuntu:18.04 - working_directory: ~/nnn - environment: - CC: gcc-9 - CI_FORCE_TEST: 1 - steps: - - run: - command: | - apt update -qq - apt install -y --no-install-recommends software-properties-common - apt-add-repository -y ppa:jonathonf/gcc-9.0 - apt update -qq - apt install -y --no-install-recommends git gcc-9 make pkg-config libncursesw5-dev libreadline-dev - - checkout - - run: - command: | - export CFLAGS=-Werror + CC=gcc-8 make strip + ls -l nnn make clean - make strip + CC=gcc-9 make strip ls -l nnn make clean @@ -90,8 +53,6 @@ workflows: test: jobs: &all-tests - gcc - - gcc-8 - - gcc-9 nightly: triggers: -- cgit v1.2.3-70-g09d2