Skip to content

Commit 8609b8e

Browse files
committed
Adding a ninja test.
1 parent 29e744f commit 8609b8e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.drone.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,29 @@ steps:
273273
- ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -LE "acceptance|per_implementation" # Everything we haven't run yet, run now.
274274
---
275275
kind: pipeline
276+
name: ninja-clang9
277+
platform: { os: linux, arch: amd64 }
278+
steps:
279+
- name: Build and Test
280+
image: conanio/clang9
281+
user: root
282+
environment:
283+
CC: clang-9
284+
CXX: clang++-9
285+
BUILD_FLAGS: -- -j
286+
CMAKE_FLAGS: -GNinja -DSIMDJSON_BUILD_STATIC=ON
287+
CTEST_FLAGS: -j4 --output-on-failure
288+
CXXFLAGS: -stdlib=libc++
289+
commands:
290+
- apt-get update -qq
291+
- apt-get install -y cmake
292+
- mkdir build
293+
- cd build
294+
- cmake $CMAKE_FLAGS ..
295+
- cmake --build . $BUILD_FLAGS
296+
- ctest $CTEST_FLAGS
297+
---
298+
kind: pipeline
276299
name: libcpp-clang9
277300
platform: { os: linux, arch: amd64 }
278301
steps:

0 commit comments

Comments
 (0)