From 569b172fc7a4d67aeb10c94f40486abb246579bc Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 13 Apr 2019 10:43:38 +0530 Subject: [PATCH] Add CircleCI gcc-8 build --- .circleci/config.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6b8e3722..49b9eaee 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,6 +22,27 @@ jobs: 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 update -qq + apt install -y --no-install-recommends git gcc-8 make pkg-config libncursesw5-dev libreadline-dev + - checkout + - run: + command: | + export CFLAGS=-Werror + make clean + make strip + ls -l nnn + make clean + package-and-publish: machine: true working_directory: ~/nnn @@ -45,6 +66,7 @@ workflows: test: jobs: &all-tests - gcc + - gcc-8 nightly: triggers: