mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
Add CircleCI gcc all
This commit is contained in:
parent
82e305dc35
commit
d51f889944
|
@ -6,49 +6,6 @@ jobs:
|
||||||
- image: ubuntu:18.04
|
- image: ubuntu:18.04
|
||||||
working_directory: ~/nnn
|
working_directory: ~/nnn
|
||||||
environment:
|
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 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
|
|
||||||
|
|
||||||
gcc-9:
|
|
||||||
docker:
|
|
||||||
- image: ubuntu:18.04
|
|
||||||
working_directory: ~/nnn
|
|
||||||
environment:
|
|
||||||
CC: gcc-9
|
|
||||||
CI_FORCE_TEST: 1
|
CI_FORCE_TEST: 1
|
||||||
steps:
|
steps:
|
||||||
- run:
|
- run:
|
||||||
|
@ -57,13 +14,19 @@ jobs:
|
||||||
apt install -y --no-install-recommends software-properties-common
|
apt install -y --no-install-recommends software-properties-common
|
||||||
apt-add-repository -y ppa:jonathonf/gcc-9.0
|
apt-add-repository -y ppa:jonathonf/gcc-9.0
|
||||||
apt update -qq
|
apt update -qq
|
||||||
apt install -y --no-install-recommends git gcc-9 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
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
command: |
|
command: |
|
||||||
export CFLAGS=-Werror
|
export CFLAGS=-Werror
|
||||||
make clean
|
make clean
|
||||||
make strip
|
CC=gcc make strip
|
||||||
|
ls -l nnn
|
||||||
|
make clean
|
||||||
|
CC=gcc-8 make strip
|
||||||
|
ls -l nnn
|
||||||
|
make clean
|
||||||
|
CC=gcc-9 make strip
|
||||||
ls -l nnn
|
ls -l nnn
|
||||||
make clean
|
make clean
|
||||||
|
|
||||||
|
@ -90,8 +53,6 @@ workflows:
|
||||||
test:
|
test:
|
||||||
jobs: &all-tests
|
jobs: &all-tests
|
||||||
- gcc
|
- gcc
|
||||||
- gcc-8
|
|
||||||
- gcc-9
|
|
||||||
|
|
||||||
nightly:
|
nightly:
|
||||||
triggers:
|
triggers:
|
||||||
|
|
Loading…
Reference in a new issue