Skip to content

Commit 265d474

Browse files
lemirejkeiser
authored andcommitted
Can we test with GCC 9
1 parent 2e42016 commit 265d474

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.circleci/config.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ executors:
77
- image: gcc:7
88
environment:
99
CXX: g++
10+
gcc9:
11+
docker:
12+
- image: gcc:9
13+
environment:
14+
CXX: g++
1015
clang6:
1116
docker:
1217
- image: ubuntu:18.04
@@ -22,7 +27,7 @@ commands:
2227
make_test:
2328
steps:
2429
- checkout
25-
- run: make
30+
- run: EXTRAFLAGS=-Werror make
2631
- run: make amalgamate
2732
- run: ARCHFLAGS=-march=haswell make amalgamate # some users do this: https://github.com/lemire/simdjson/issues/444
2833
- run: make test
@@ -65,6 +70,10 @@ jobs:
6570
environment: { CMAKE_TEST_FLAGS: -DSIMDJSON_ENABLE_THREADS=ON }
6671
steps: [ init_clang6, cmake_test ]
6772

73+
gcc9-avx:
74+
description: Build, run tests and check performance on GCC 9 and AVX 2
75+
executor: gcc9
76+
steps: [ make_test ]
6877
gcc-avx:
6978
description: Build, run tests and check performance on GCC 7 and AVX 2
7079
executor: gcc7
@@ -162,6 +171,7 @@ workflows:
162171
build_and_test:
163172
jobs:
164173
- gcc-avx
174+
- gcc9-avx
165175
- gcc-avx-dynamic
166176
- gcc-avx-static
167177
- gcc-avx-google-benchmarks

0 commit comments

Comments
 (0)