Skip to content

Commit 92f3bb8

Browse files
committed
Remove Makefile and update CI not to use it
1 parent 1d069e5 commit 92f3bb8

File tree

4 files changed

+208
-801
lines changed

4 files changed

+208
-801
lines changed

.circleci/config.yml

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,15 +48,6 @@ commands:
4848
- run: apt-get update -qq
4949
- run: apt-get install -y clang build-essential git
5050

51-
make_test:
52-
steps:
53-
- checkout
54-
- run: make $BUILD_FLAGS
55-
- run: ./json2json -h # Print out the implementation we're using on this hardware
56-
- run: make amalgamate
57-
- run: make test
58-
- run: make checkperf
59-
6051
install_cmake:
6152
steps:
6253
- run: apt-get update -qq
@@ -170,18 +161,18 @@ jobs:
170161
arch-haswell-gcc7:
171162
description: Build, run tests and check performance on GCC 7 with -march=haswell
172163
executor: gcc7
173-
environment: { ARCHFLAGS: -march=haswell }
174-
steps: [ make_test ]
164+
environment: { CXXFLAGS: -march=haswell }
165+
steps: [ install_cmake, cmake_test ]
175166
arch-nehalem-gcc7:
176167
description: Build, run tests and check performance on GCC 7 with -march=nehalem
177168
executor: gcc7
178-
environment: { ARCHFLAGS: -march=nehalem }
179-
steps: [ make_test ]
169+
environment: { CXXFLAGS: -march=nehalem }
170+
steps: [ install_cmake, cmake_test ]
180171
no-computed-goto-gcc7:
181172
description: Build, run tests and check performance on GCC 7 with -DSIMDJSON_NO_COMPUTED_GOTO=true
182173
executor: gcc7
183-
environment: { EXTRAFLAGS: -DSIMDJSON_NO_COMPUTED_GOTO=true }
184-
steps: [ make_test ]
174+
environment: { CXXFLAGS: -DSIMDJSON_NO_COMPUTED_GOTO=true }
175+
steps: [ install_cmake, cmake_test ]
185176

186177
workflows:
187178
version: 2.1

0 commit comments

Comments
 (0)