2019-02-23 02:55:22 +08:00
|
|
|
kind: pipeline
|
2020-05-01 05:13:51 +08:00
|
|
|
name: gcc9
|
2020-04-24 07:09:44 +08:00
|
|
|
platform: { os: linux, arch: amd64 }
|
2020-03-21 23:23:11 +08:00
|
|
|
steps:
|
2020-04-24 07:09:44 +08:00
|
|
|
- name: Build and Test
|
2020-05-01 05:13:51 +08:00
|
|
|
image: gcc:9
|
2020-03-03 07:19:20 +08:00
|
|
|
environment:
|
2020-04-24 07:09:44 +08:00
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
2020-06-24 06:58:38 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=OFF -DSIMDJSON_IMPLEMENTATION=haswell;westmere;fallback
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-08-02 04:09:26 +08:00
|
|
|
commands:
|
2020-10-31 01:55:35 +08:00
|
|
|
- echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
|
2020-04-24 07:09:44 +08:00
|
|
|
- apt-get update -qq
|
2020-10-31 01:55:35 +08:00
|
|
|
- apt-get -t buster-backports install -y cmake
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake $CMAKE_FLAGS ..
|
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS -L acceptance -LE per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=haswell ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=westmere ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=fallback ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- ctest $CTEST_FLAGS -LE "acceptance|per_implementation" # Everything we haven't run yet, run now.
|
2019-08-02 04:09:26 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-04-24 07:09:44 +08:00
|
|
|
name: clang6
|
|
|
|
platform: { os: linux, arch: amd64 }
|
2019-07-31 06:21:50 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-05-01 05:13:51 +08:00
|
|
|
image: conanio/clang60
|
|
|
|
user: root
|
2019-07-31 06:21:50 +08:00
|
|
|
environment:
|
2020-04-24 07:09:44 +08:00
|
|
|
CC: clang-6.0
|
|
|
|
CXX: clang++-6.0
|
|
|
|
BUILD_FLAGS: -- -j
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=OFF -DSIMDJSON_IMPLEMENTATION=haswell;westmere;fallback
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-07-31 06:21:50 +08:00
|
|
|
commands:
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-04-08 00:25:11 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS -L acceptance -LE per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=haswell ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=westmere ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=fallback ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- ctest $CTEST_FLAGS -LE "acceptance|per_implementation" # Everything we haven't run yet, run now.
|
2020-04-08 00:25:11 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-05-01 05:13:51 +08:00
|
|
|
name: dynamic-gcc9
|
2020-04-24 07:09:44 +08:00
|
|
|
platform: { os: linux, arch: amd64 }
|
2020-04-08 00:25:11 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-05-01 05:13:51 +08:00
|
|
|
image: gcc:9
|
2020-04-08 00:25:11 +08:00
|
|
|
environment:
|
2020-04-24 07:09:44 +08:00
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
|
|
|
BUILD_FLAGS: -- -j
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=ON
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2020-04-08 00:25:11 +08:00
|
|
|
commands:
|
2020-10-31 01:55:35 +08:00
|
|
|
- echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
|
2020-04-08 00:25:11 +08:00
|
|
|
- apt-get update -qq
|
2020-10-31 01:55:35 +08:00
|
|
|
- apt-get -t buster-backports install -y cmake
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
2019-08-04 22:09:16 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-05-01 05:13:51 +08:00
|
|
|
name: dynamic-clang9
|
2020-04-24 07:09:44 +08:00
|
|
|
platform: { os: linux, arch: amd64 }
|
2019-08-04 22:09:16 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-05-01 05:13:51 +08:00
|
|
|
image: conanio/clang9
|
|
|
|
user: root
|
2019-08-04 22:09:16 +08:00
|
|
|
environment:
|
2020-05-01 05:13:51 +08:00
|
|
|
CC: clang-9
|
|
|
|
CXX: clang++-9
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=ON
|
2020-04-24 07:09:44 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-08-04 22:09:16 +08:00
|
|
|
commands:
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
2019-07-31 06:21:50 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-05-01 05:13:51 +08:00
|
|
|
name: sanitize-gcc9
|
2020-04-24 07:09:44 +08:00
|
|
|
platform: { os: linux, arch: amd64 }
|
2019-07-31 06:21:50 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-05-01 05:13:51 +08:00
|
|
|
image: gcc:9
|
2019-07-31 06:21:50 +08:00
|
|
|
environment:
|
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
2020-05-15 19:03:06 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=OFF -DSIMDJSON_IMPLEMENTATION=haswell;westmere;fallback
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-07-31 06:21:50 +08:00
|
|
|
commands:
|
2020-10-31 01:55:35 +08:00
|
|
|
- echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
2020-10-31 01:55:35 +08:00
|
|
|
- apt-get -t buster-backports install -y cmake
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L acceptance -LE per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=haswell ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=westmere ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=fallback ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -LE "acceptance|per_implementation" # Everything we haven't run yet, run now.
|
2019-08-04 22:09:16 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-05-01 05:13:51 +08:00
|
|
|
name: sanitize-clang9
|
2020-04-24 07:09:44 +08:00
|
|
|
platform: { os: linux, arch: amd64 }
|
2019-07-31 06:21:50 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-05-01 05:13:51 +08:00
|
|
|
image: conanio/clang9
|
|
|
|
user: root
|
2019-07-31 06:21:50 +08:00
|
|
|
environment:
|
2020-05-01 05:13:51 +08:00
|
|
|
CC: clang-9
|
|
|
|
CXX: clang++-9
|
2020-09-11 00:12:47 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_SANITIZE=ON -DSIMDJSON_IMPLEMENTATION=haswell;westmere;fallback
|
2020-04-24 07:09:44 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-07-31 06:21:50 +08:00
|
|
|
commands:
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L acceptance -LE per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=haswell ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=westmere ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=fallback ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -LE "acceptance|per_implementation" # Everything we haven't run yet, run now.
|
2019-07-31 06:21:50 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-11-11 02:55:04 +08:00
|
|
|
name: cpp20-clang11-libcpp
|
|
|
|
platform: { os: linux, arch: amd64 }
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: pauldreik/llvm-11
|
|
|
|
user: root
|
|
|
|
environment:
|
|
|
|
CC: clang-11
|
|
|
|
CXX: clang++-11
|
|
|
|
CMAKE_FLAGS: -GNinja
|
|
|
|
BUILD_FLAGS:
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2020-11-11 02:55:04 +08:00
|
|
|
CXXFLAGS: -std=c++20 -stdlib=libc++
|
|
|
|
commands:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake $CMAKE_FLAGS ..
|
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-04-24 07:09:44 +08:00
|
|
|
name: arm64-gcc8
|
|
|
|
platform: { os: linux, arch: arm64 }
|
2019-07-31 06:21:50 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-01-07 07:28:29 +08:00
|
|
|
image: gcc:8
|
2019-07-31 06:21:50 +08:00
|
|
|
environment:
|
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
2020-05-15 19:03:06 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=OFF -DSIMDJSON_IMPLEMENTATION=arm64;fallback
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-07-31 06:21:50 +08:00
|
|
|
commands:
|
2020-10-31 01:55:35 +08:00
|
|
|
- echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
2020-10-31 01:55:35 +08:00
|
|
|
- apt-get -t buster-backports install -y cmake
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS -L acceptance -LE per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=arm64 ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=fallback ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- ctest $CTEST_FLAGS -LE "acceptance|per_implementation" # Everything we haven't run yet, run now.
|
2019-08-04 22:09:16 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-04-24 07:09:44 +08:00
|
|
|
name: arm64-clang6
|
|
|
|
platform: { os: linux, arch: arm64 }
|
2019-08-04 22:09:16 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-10-31 10:47:40 +08:00
|
|
|
image: debian:buster-backports
|
2019-08-04 22:09:16 +08:00
|
|
|
environment:
|
2020-04-24 07:09:44 +08:00
|
|
|
CC: clang-6.0
|
|
|
|
CXX: clang++-6.0
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=ON
|
2020-04-24 07:09:44 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-08-04 22:09:16 +08:00
|
|
|
commands:
|
2020-10-31 10:47:40 +08:00
|
|
|
- apt-get -qq update
|
|
|
|
- apt-get -t buster-backports install -y cmake
|
|
|
|
- apt-get install -y clang-6.0 git
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
2019-08-04 22:09:16 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-04-24 07:09:44 +08:00
|
|
|
name: arm64-dynamic-gcc8
|
|
|
|
platform: { os: linux, arch: arm64 }
|
2019-08-04 22:09:16 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-01-07 07:28:29 +08:00
|
|
|
image: gcc:8
|
2019-08-04 22:09:16 +08:00
|
|
|
environment:
|
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
2020-04-24 07:09:44 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=ON
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-08-04 22:09:16 +08:00
|
|
|
commands:
|
2020-10-31 01:55:35 +08:00
|
|
|
- echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
2020-10-31 01:55:35 +08:00
|
|
|
- apt-get -t buster-backports install -y cmake
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
2019-08-10 05:26:05 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-04-24 07:09:44 +08:00
|
|
|
name: arm64-dynamic-clang6
|
|
|
|
platform: { os: linux, arch: arm64 }
|
2019-08-10 05:26:05 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-10-31 10:47:40 +08:00
|
|
|
image: debian:buster-backports
|
2019-08-10 05:26:05 +08:00
|
|
|
environment:
|
2020-04-24 07:09:44 +08:00
|
|
|
CC: clang-6.0
|
|
|
|
CXX: clang++-6.0
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=ON
|
2020-04-24 07:09:44 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2020-10-31 10:47:40 +08:00
|
|
|
- apt-get -qq update
|
|
|
|
- apt-get -t buster-backports install -y cmake
|
|
|
|
- apt-get install -y clang-6.0 git
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
2019-08-10 05:26:05 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-04-24 07:09:44 +08:00
|
|
|
name: arm64-sanitize-gcc8
|
|
|
|
platform: { os: linux, arch: arm64 }
|
2019-08-10 05:26:05 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-01-07 07:28:29 +08:00
|
|
|
image: gcc:8
|
2019-08-10 05:26:05 +08:00
|
|
|
environment:
|
2020-04-24 07:09:44 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=OFF -DSIMDJSON_IMPLEMENTATION=arm64;fallback
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-08-10 05:26:05 +08:00
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
|
|
|
commands:
|
2020-10-31 01:55:35 +08:00
|
|
|
- echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
2020-10-31 01:55:35 +08:00
|
|
|
- apt-get -t buster-backports install -y cmake
|
|
|
|
- apt-get install -y libstdc++6
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L acceptance -LE per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=arm64 ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=fallback ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -LE "acceptance|per_implementation" # Everything we haven't run yet, run now.
|
2019-08-10 05:26:05 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-04-24 07:09:44 +08:00
|
|
|
name: arm64-sanitize-clang6
|
|
|
|
platform: { os: linux, arch: arm64 }
|
2019-08-10 05:26:05 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-10-31 10:47:40 +08:00
|
|
|
image: debian:buster-backports
|
2019-08-10 05:26:05 +08:00
|
|
|
environment:
|
2020-04-24 07:09:44 +08:00
|
|
|
CC: clang-6.0
|
|
|
|
CXX: clang++-6.0
|
2020-09-11 00:12:47 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_SANITIZE=ON -DSIMDJSON_IMPLEMENTATION=arm64;fallback
|
2020-04-24 07:09:44 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2020-10-31 10:47:40 +08:00
|
|
|
- apt-get -qq update
|
|
|
|
- apt-get -t buster-backports install -y cmake
|
|
|
|
- apt-get install -y clang-6.0 git
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L acceptance -LE per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=arm64 ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- SIMDJSON_FORCE_IMPLEMENTATION=fallback ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -L per_implementation
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest $CTEST_FLAGS -LE "acceptance|per_implementation" # Everything we haven't run yet, run now.
|
2019-08-10 05:26:05 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-06-25 07:29:08 +08:00
|
|
|
name: ninja-clang9
|
|
|
|
platform: { os: linux, arch: amd64 }
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: conanio/clang9
|
|
|
|
user: root
|
|
|
|
environment:
|
|
|
|
CC: clang-9
|
|
|
|
CXX: clang++-9
|
2020-06-25 07:31:51 +08:00
|
|
|
BUILD_FLAGS: -- -j 4
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -GNinja -DBUILD_SHARED_LIBS=OFF
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2020-06-25 07:29:08 +08:00
|
|
|
CXXFLAGS: -stdlib=libc++
|
|
|
|
commands:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake $CMAKE_FLAGS ..
|
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-05-01 05:13:51 +08:00
|
|
|
name: libcpp-clang9
|
2020-04-24 07:09:44 +08:00
|
|
|
platform: { os: linux, arch: amd64 }
|
2019-08-10 05:26:05 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-05-01 05:13:51 +08:00
|
|
|
image: conanio/clang9
|
2020-04-24 07:09:44 +08:00
|
|
|
user: root
|
2019-08-10 05:26:05 +08:00
|
|
|
environment:
|
2020-05-01 05:13:51 +08:00
|
|
|
CC: clang-9
|
|
|
|
CXX: clang++-9
|
2020-04-24 07:09:44 +08:00
|
|
|
BUILD_FLAGS: -- -j
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=OFF
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2020-04-24 07:09:44 +08:00
|
|
|
CXXFLAGS: -stdlib=libc++
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
2019-08-10 05:26:05 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-11-05 01:24:42 +08:00
|
|
|
name: libcpp-clang7
|
|
|
|
platform: { os: linux, arch: amd64 }
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: conanio/clang7
|
|
|
|
user: root
|
|
|
|
environment:
|
|
|
|
CC: clang-7
|
|
|
|
CXX: clang++-7
|
|
|
|
BUILD_FLAGS: -- -j
|
2021-05-08 10:59:26 +08:00
|
|
|
CMAKE_FLAGS: -DBUILD_SHARED_LIBS=OFF
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2020-11-05 01:24:42 +08:00
|
|
|
CXXFLAGS: -stdlib=libc++
|
|
|
|
commands:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
|
|
|
- cmake $CMAKE_FLAGS ..
|
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-05-01 05:13:51 +08:00
|
|
|
name: noexceptions-gcc9
|
2020-04-24 07:09:44 +08:00
|
|
|
platform: { os: linux, arch: amd64 }
|
2019-08-10 05:26:05 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-05-01 05:13:51 +08:00
|
|
|
image: gcc:9
|
2019-08-10 05:26:05 +08:00
|
|
|
environment:
|
2020-04-24 07:09:44 +08:00
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
|
|
|
BUILD_FLAGS: -- -j
|
|
|
|
CMAKE_FLAGS: -DSIMDJSON_EXCEPTIONS=OFF
|
2020-12-12 09:28:24 +08:00
|
|
|
CTEST_FLAGS: -j4 --output-on-failure -LE explicitonly
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2020-10-31 01:55:35 +08:00
|
|
|
- echo "deb http://deb.debian.org/debian buster-backports main" >> /etc/apt/sources.list
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
2020-10-31 01:55:35 +08:00
|
|
|
- apt-get -t buster-backports install -y cmake
|
2020-04-24 07:09:44 +08:00
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2020-04-24 07:09:44 +08:00
|
|
|
- cmake --build . $BUILD_FLAGS
|
|
|
|
- ctest $CTEST_FLAGS
|
2021-07-05 15:42:57 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm64-fuzz
|
|
|
|
platform: { os: linux, arch: arm64 }
|
|
|
|
steps:
|
|
|
|
- name: Build and run fuzzers shortly
|
|
|
|
image: ubuntu:20.04
|
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
|
|
|
DEBIAN_FRONTEND: noninteractive
|
|
|
|
ASAN_OPTIONS: detect_leaks=0
|
|
|
|
commands:
|
|
|
|
- apt-get -qq update
|
|
|
|
- apt-get install -q -y clang cmake git wget zip ninja-build
|
|
|
|
- wget -O corpus.tar.gz https://readonly:readonly@www.pauldreik.se/fuzzdata/index.php?project=simdjson
|
|
|
|
- tar xf corpus.tar.gz && rm corpus.tar.gz
|
|
|
|
- fuzz/build_like_ossfuzz.sh
|
|
|
|
- mkdir -p common_out
|
|
|
|
- for fuzzer in build/fuzz/fuzz_* ; do echo $fuzzer;$fuzzer common_out out/* -max_total_time=40; done
|
2020-10-01 16:12:37 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-04-24 07:09:44 +08:00
|
|
|
name: stylecheck
|
|
|
|
platform: { os: linux, arch: amd64 }
|
2019-08-10 05:26:05 +08:00
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
2020-04-24 07:09:44 +08:00
|
|
|
image: ubuntu:18.04
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2020-04-24 07:09:44 +08:00
|
|
|
- apt-get update -y
|
|
|
|
- apt-get install -y python clang-format
|
|
|
|
- ./style/run-clang-format.py -r include/ benchmark/ src/ tests/
|