@@ -7,47 +7,48 @@ executors:
77 - image : gcc:7
88 environment :
99 CXX : g++
10+ CC : gcc
1011 BUILD_FLAGS : -j
1112 CTEST_FLAGS : -j4 --output-on-failure
1213
1314 gcc8 :
1415 docker :
15- - image : gcc:8
16+ - image : conanio/gcc8
1617 environment :
17- CXX : g++
18+ CXX : g++-8
19+ CC : gcc-8
1820 BUILD_FLAGS : -j
1921 CTEST_FLAGS : -j4 --output-on-failure
2022
2123 gcc9 :
2224 docker :
23- - image : gcc:9
25+ - image : conanio/gcc9
2426 environment :
25- CXX : g++
27+ CXX : g++-9
28+ CC : gcc-9
2629 BUILD_FLAGS : -j
2730 CTEST_FLAGS : -j4 --output-on-failure
31+
2832 clang9 :
2933 docker :
3034 - image : conanio/clang9
3135 environment :
3236 CXX : clang++-9
37+ CC : clang-9
3338 BUILD_FLAGS : -j
3439 CTEST_FLAGS : -j4 --output-on-failure
3540
3641 clang6 :
3742 docker :
38- - image : ubuntu:18.04
43+ - image : conanio/clang60
3944 environment :
4045 CXX : clang++-6.0
46+ CC : clang-6.0
4147 BUILD_FLAGS : -j
4248 CTEST_FLAGS : -j4 --output-on-failure
43-
49+
4450# Reusable test commands (and initializer for clang 6)
4551commands :
46- init_clang6 :
47- steps :
48- - run : apt-get update -qq
49- - run : apt-get install -y clang build-essential git
50-
5152 install_cmake :
5253 steps :
5354 - run : apt-get update -qq
9899 description : Build and run tests on clang 6 and AVX 2 with a cmake static build
99100 executor : clang6
100101 environment : { CMAKE_FLAGS: -DSIMDJSON_GOOGLE_BENCHMARKS=ON }
101- steps : [ init_clang6, install_cmake, cmake_test_all, cmake_install_test ]
102+ steps : [ cmake_test_all, cmake_install_test ]
102103 # libcpp
103104 libcpp-clang9 :
104105 description : Build and run tests on clang 6 and AVX 2 with a cmake static build and libc++
@@ -110,69 +111,69 @@ jobs:
110111 description : Build and run tests on GCC 9 and AVX 2 with a cmake sanitize build
111112 executor : gcc9
112113 environment : { CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=OFF -DSIMDJSON_SANITIZE=ON, BUILD_FLAGS: "", CTEST_FLAGS: -j4 --output-on-failure -E checkperf }
113- steps : [ install_cmake, cmake_test_all ]
114- sanitize-clang6 :
114+ steps : [ cmake_test_all ]
115+ sanitize-clang9 :
115116 description : Build and run tests on clang 6 and AVX 2 with a cmake sanitize build
116- executor : clang6
117+ executor : clang9
117118 environment : { CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=OFF -DSIMDJSON_SANITIZE=ON, CTEST_FLAGS: -j4 --output-on-failure -E checkperf }
118- steps : [ init_clang6, install_cmake, cmake_test_all ]
119+ steps : [ cmake_test_all ]
119120
120121 # dynamic
121- dynamic-gcc7 :
122+ dynamic-gcc9 :
122123 description : Build and run tests on GCC 7 and AVX 2 with a cmake dynamic build
123- executor : gcc7
124+ executor : gcc9
124125 environment : { CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=OFF }
125- steps : [ install_cmake, cmake_test, cmake_install_test ]
126- dynamic-clang6 :
126+ steps : [ cmake_test, cmake_install_test ]
127+ dynamic-clang9 :
127128 description : Build and run tests on clang 6 and AVX 2 with a cmake dynamic build
128- executor : clang6
129+ executor : clang9
129130 environment : { CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=OFF }
130- steps : [ init_clang6, install_cmake, cmake_test, cmake_install_test ]
131+ steps : [ cmake_test, cmake_install_test ]
131132
132133 # unthreaded
133- unthreaded-gcc7 :
134+ unthreaded-gcc9 :
134135 description : Build and run tests on GCC 7 and AVX 2 *without* threads
135- executor : gcc7
136+ executor : gcc9
136137 environment : { CMAKE_FLAGS: -DSIMDJSON_ENABLE_THREADS=OFF }
137- steps : [ install_cmake, cmake_test, cmake_install_test ]
138- unthreaded-clang6 :
138+ steps : [ cmake_test, cmake_install_test ]
139+ unthreaded-clang9 :
139140 description : Build and run tests on Clang 6 and AVX 2 *without* threads
140- executor : clang6
141+ executor : clang9
141142 environment : { CMAKE_FLAGS: -DSIMDJSON_ENABLE_THREADS=OFF }
142- steps : [ init_clang6, install_cmake, cmake_test, cmake_install_test ]
143+ steps : [ cmake_test, cmake_install_test ]
143144
144145 # noexcept
145- noexcept-gcc7 :
146+ noexcept-gcc9 :
146147 description : Build and run tests on GCC 7 and AVX 2 with exceptions off
147- executor : gcc7
148+ executor : gcc9
148149 environment : { CMAKE_FLAGS: -DSIMDJSON_EXCEPTIONS=OFF }
149- steps : [ install_cmake, cmake_test, cmake_install_test ]
150- noexcept-clang6 :
150+ steps : [ cmake_test, cmake_install_test ]
151+ noexcept-clang9 :
151152 description : Build and run tests on GCC 7 and AVX 2 with exceptions off
152- executor : clang6
153+ executor : clang9
153154 environment : { CMAKE_FLAGS: -DSIMDJSON_EXCEPTIONS=OFF }
154- steps : [ init_clang6, install_cmake, cmake_test, cmake_install_test ]
155+ steps : [ cmake_test, cmake_install_test ]
155156
156157 #
157158 # Misc.
158159 #
159160
160161 # make (test and checkperf)
161- arch-haswell-gcc7 :
162+ arch-haswell-gcc9 :
162163 description : Build, run tests and check performance on GCC 7 with -march=haswell
163- executor : gcc7
164+ executor : gcc9
164165 environment : { CXXFLAGS: -march=haswell }
165- steps : [ install_cmake, cmake_test ]
166- arch-nehalem-gcc7 :
166+ steps : [ cmake_test ]
167+ arch-nehalem-gcc9 :
167168 description : Build, run tests and check performance on GCC 7 with -march=nehalem
168- executor : gcc7
169+ executor : gcc9
169170 environment : { CXXFLAGS: -march=nehalem }
170- steps : [ install_cmake, cmake_test ]
171- no-computed-goto-gcc7 :
171+ steps : [ cmake_test ]
172+ no-computed-goto-gcc9 :
172173 description : Build, run tests and check performance on GCC 7 with -DSIMDJSON_NO_COMPUTED_GOTO=true
173- executor : gcc7
174+ executor : gcc9
174175 environment : { CXXFLAGS: -DSIMDJSON_NO_COMPUTED_GOTO=true }
175- steps : [ install_cmake, cmake_test ]
176+ steps : [ cmake_test ]
176177
177178workflows :
178179 version : 2.1
@@ -187,16 +188,16 @@ workflows:
187188
188189 # full single-implementation tests
189190 - sanitize-gcc9
190- - sanitize-clang6
191- - dynamic-gcc7
192- - dynamic-clang6
193- - unthreaded-gcc7
194- - unthreaded-clang6
191+ - sanitize-clang9
192+ - dynamic-gcc9
193+ - dynamic-clang9
194+ - unthreaded-gcc9
195+ - unthreaded-clang9
195196
196197 # quicker make single-implementation tests
197- - arch-haswell-gcc7
198- - arch-nehalem-gcc7
199- - no-computed-goto-gcc7
198+ - arch-haswell-gcc9
199+ - arch-nehalem-gcc9
200+ - no-computed-goto-gcc9
200201
201202 # TODO add windows: https://circleci.com/docs/2.0/configuration-reference/#windows
202203
0 commit comments