diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-04-13 10:48:45 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-04-13 10:57:27 +0530 |
commit | 82e305dc35a3f38a136a8f08b1bd5ac646871104 (patch) | |
tree | c6478e577aa93e231be1396a2b7a2843783d75c3 /.circleci/config.yml | |
parent | 569b172fc7a4d67aeb10c94f40486abb246579bc (diff) | |
download | nnn-82e305dc35a3f38a136a8f08b1bd5ac646871104.tar.gz |
Add CircleCI gcc-9 build
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 49b9eae..3782b33 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,6 +43,30 @@ jobs: 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 + make clean + make strip + ls -l nnn + make clean + package-and-publish: machine: true working_directory: ~/nnn @@ -67,6 +91,7 @@ workflows: jobs: &all-tests - gcc - gcc-8 + - gcc-9 nightly: triggers: |