2019-02-23 02:55:22 +08:00
|
|
|
kind: pipeline
|
2019-10-07 03:39:55 +08:00
|
|
|
name: x64-quicktests
|
2019-07-31 06:21:50 +08:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
2019-02-23 02:55:22 +08:00
|
|
|
|
|
|
|
steps:
|
2019-10-07 03:39:55 +08:00
|
|
|
- name: quicktests
|
2019-02-23 02:55:22 +08:00
|
|
|
image: gcc:8
|
2019-10-07 03:39:55 +08:00
|
|
|
commands: [ make quicktests ]
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: x64-checkperf
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2019-08-13 04:03:56 +08:00
|
|
|
- name: checkperf
|
|
|
|
image: gcc:8
|
2019-09-03 00:46:05 +08:00
|
|
|
environment:
|
|
|
|
CHECKPERF_REPOSITORY: https://github.com/lemire/simdjson
|
2020-01-01 03:31:45 +08:00
|
|
|
commands: [ sed '/^$/Q' /proc/cpuinfo, make checkperf ]
|
2019-10-07 03:39:55 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: x64-build
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: gcc:8
|
|
|
|
commands: [ make, make amalgamate ]
|
2019-07-31 06:21:50 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-10-07 03:39:55 +08:00
|
|
|
name: x64-slowtests
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: slowtests
|
|
|
|
image: gcc:8
|
|
|
|
commands: [ make slowtests ]
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm64-quicktests
|
2019-07-31 06:21:50 +08:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
2019-10-07 03:39:55 +08:00
|
|
|
- name: quicktests
|
2019-07-31 06:21:50 +08:00
|
|
|
image: gcc:8
|
2019-10-07 03:39:55 +08:00
|
|
|
commands: [ make quicktests ]
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm64-checkperf
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
2019-08-13 04:03:56 +08:00
|
|
|
- name: checkperf
|
|
|
|
image: gcc:8
|
2019-09-03 00:46:05 +08:00
|
|
|
environment:
|
|
|
|
CHECKPERF_REPOSITORY: https://github.com/lemire/simdjson
|
2019-11-04 09:58:42 +08:00
|
|
|
commands: [ cat /proc/cpuinfo, make checkperf ]
|
2019-10-07 03:39:55 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm64-build
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: gcc:8
|
|
|
|
commands: [ make, make amalgamate ]
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm64-slowtests
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: slowtests
|
|
|
|
image: gcc:8
|
|
|
|
commands: [ make slowtests ]
|
2019-07-31 06:21:50 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2020-03-03 07:19:20 +08:00
|
|
|
name: x64-amalgamated-build
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: gcc:8
|
|
|
|
environment:
|
|
|
|
SIMDJSON_TEST_AMALGAMATED_HEADERS: 1
|
2020-03-07 04:34:28 +08:00
|
|
|
commands: [ make amalgamate, make ]
|
2020-03-03 07:19:20 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: x64-amalgamated-quicktests
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: quicktests
|
|
|
|
image: gcc:8
|
|
|
|
environment:
|
|
|
|
SIMDJSON_TEST_AMALGAMATED_HEADERS: 1
|
2020-03-06 03:17:30 +08:00
|
|
|
commands: [ make amalgamate, make quicktests ]
|
2020-03-03 07:19:20 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: x64-amalgamated-slowtests
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: slowtests
|
|
|
|
image: gcc:8
|
|
|
|
environment:
|
|
|
|
SIMDJSON_TEST_AMALGAMATED_HEADERS: 1
|
2020-03-06 03:17:30 +08:00
|
|
|
commands: [ make amalgamate, make slowtests ]
|
2020-03-03 07:19:20 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-08-02 04:09:26 +08:00
|
|
|
name: stylecheck
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: ubuntu:18.04
|
|
|
|
commands:
|
|
|
|
- apt-get update -y
|
|
|
|
- apt-get install -y python clang-format
|
|
|
|
- ./style/run-clang-format.py -r include/ benchmark/ src/ tests/
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-08-04 22:09:16 +08:00
|
|
|
name: amd64_clang_cmake_dynamic
|
2019-07-31 06:21:50 +08:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: ubuntu:18.04
|
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=OFF
|
2019-07-31 06:21:50 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y clang make cmake
|
2019-07-31 06:21:50 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-04 22:09:16 +08:00
|
|
|
- make -j
|
2019-08-10 05:26:05 +08:00
|
|
|
- ctest --output-on-failure
|
2019-08-04 22:09:16 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: amd64_clang_cmake_static
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: ubuntu:18.04
|
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=ON
|
2019-08-04 22:09:16 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y clang make cmake
|
2019-08-04 22:09:16 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-07-31 06:21:50 +08:00
|
|
|
- make -j
|
2019-08-10 05:26:05 +08:00
|
|
|
- ctest --output-on-failure
|
2019-07-31 06:21:50 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-08-04 22:09:16 +08:00
|
|
|
name: amd64_gcc_cmake_static
|
2019-07-31 06:21:50 +08:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
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-02-15 07:20:17 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=ON
|
2019-07-31 06:21:50 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y cmake
|
2019-07-31 06:21:50 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-04 22:09:16 +08:00
|
|
|
- make -j
|
2019-08-10 05:26:05 +08:00
|
|
|
- ctest --output-on-failure
|
2019-08-04 22:09:16 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: amd64_gcc_cmake_dynamic
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
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-02-15 07:20:17 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=OFF
|
2019-08-04 22:09:16 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y cmake
|
2019-08-04 22:09:16 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-07-31 06:21:50 +08:00
|
|
|
- make -j
|
2019-08-10 05:26:05 +08:00
|
|
|
- ctest --output-on-failure
|
2019-07-31 06:21:50 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-08-04 22:09:16 +08:00
|
|
|
name: arm64_clang_cmake_dynamic
|
2019-07-31 06:21:50 +08:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: ubuntu:18.04
|
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=OFF
|
2019-07-31 06:21:50 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y clang make cmake
|
2019-07-31 06:21:50 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-07-31 06:21:50 +08:00
|
|
|
- make -j
|
2019-08-10 05:26:05 +08:00
|
|
|
- ctest --output-on-failure
|
2019-07-31 06:21:50 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-08-04 22:09:16 +08:00
|
|
|
name: arm64_gcc_cmake_dynamic
|
2019-07-31 06:21:50 +08:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
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-02-15 07:20:17 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=OFF
|
2019-07-31 06:21:50 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y cmake
|
2019-08-04 22:09:16 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-04 22:09:16 +08:00
|
|
|
- make -j
|
2019-08-10 05:26:05 +08:00
|
|
|
- ctest --output-on-failure
|
2019-08-04 22:09:16 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm64_clang_cmake_static
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: ubuntu:18.04
|
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=ON
|
2019-08-04 22:09:16 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y clang make cmake
|
2019-08-04 22:09:16 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-04 22:09:16 +08:00
|
|
|
- make -j
|
2019-08-10 05:26:05 +08:00
|
|
|
- ctest --output-on-failure
|
2019-08-04 22:09:16 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm64_gcc_cmake_static
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
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-02-15 07:20:17 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_BUILD_STATIC=ON
|
2019-08-04 22:09:16 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y cmake
|
2019-08-04 22:09:16 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-04 22:09:16 +08:00
|
|
|
- make -j
|
2019-08-10 05:26:05 +08:00
|
|
|
- ctest --output-on-failure
|
2019-08-04 22:09:16 +08:00
|
|
|
|
2019-08-10 05:26:05 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm64_clang_cmake_sanitize
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: ubuntu:18.04
|
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_SANITIZE=ON
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y clang make cmake
|
2019-08-10 05:26:05 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-10 05:26:05 +08:00
|
|
|
- make -j
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest --output-on-failure
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm64_gcc_cmake_sanitize
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
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:
|
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_SANITIZE=ON
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y cmake
|
2019-08-10 05:26:05 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-10 05:26:05 +08:00
|
|
|
- make -j
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest --output-on-failure
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: amd64_clang_cmake_sanitize
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: ubuntu:18.04
|
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_SANITIZE=ON
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
|
|
|
- apt-get update -y
|
|
|
|
- apt-get install -y make $CC g++ cmake
|
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-10 05:26:05 +08:00
|
|
|
- make -j
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest --output-on-failure
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: amd64_gcc_cmake_sanitize
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
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:
|
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_SANITIZE=ON
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y cmake
|
2019-08-10 05:26:05 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-10 05:26:05 +08:00
|
|
|
- make -j
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest --output-on-failure
|
2019-08-04 22:09:16 +08:00
|
|
|
|
2019-08-10 05:26:05 +08:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: amd64_clang_cmake_sanitize_noavx
|
2019-08-04 22:09:16 +08:00
|
|
|
|
2019-08-10 05:26:05 +08:00
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Build and Test
|
|
|
|
image: ubuntu:18.04
|
|
|
|
environment:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_SANITIZE=ON -DSIMDJSON_DISABLE_AVX=ON
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y clang make cmake
|
2019-08-10 05:26:05 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-10 05:26:05 +08:00
|
|
|
- make -j
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest --output-on-failure
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: amd64_gcc_cmake_sanitize_noavx
|
2019-08-04 22:09:16 +08:00
|
|
|
|
2019-08-10 05:26:05 +08:00
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
2019-08-04 22:09:16 +08:00
|
|
|
|
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:
|
|
|
|
CC: gcc
|
|
|
|
CXX: g++
|
2020-02-18 11:59:30 +08:00
|
|
|
CMAKE_FLAGS: -DSIMDJSON_SANITIZE=ON -DSIMDJSON_DISABLE_AVX=ON
|
2019-08-10 05:26:05 +08:00
|
|
|
commands:
|
2019-10-07 03:39:55 +08:00
|
|
|
- apt-get update -qq
|
|
|
|
- apt-get install -y cmake
|
2019-08-10 05:26:05 +08:00
|
|
|
- $CC --version
|
|
|
|
- mkdir build && cd build
|
2020-02-15 07:20:17 +08:00
|
|
|
- cmake $CMAKE_FLAGS ..
|
2019-08-10 05:26:05 +08:00
|
|
|
- make -j
|
|
|
|
- ASAN_OPTIONS="detect_leaks=0" ctest --output-on-failure
|