simdjson/.drone.yml

426 lines
7.4 KiB
YAML
Raw Normal View History

2019-02-23 02:55:22 +08:00
kind: pipeline
name: x64-quicktests
platform:
os: linux
arch: amd64
2019-02-23 02:55:22 +08:00
steps:
- name: quicktests
2019-02-23 02:55:22 +08:00
image: gcc:8
commands: [ make quicktests ]
---
kind: pipeline
name: x64-checkperf
platform:
os: linux
arch: amd64
steps:
- name: checkperf
image: gcc:8
environment:
CHECKPERF_REPOSITORY: https://github.com/lemire/simdjson
commands: [ sed '/^$/Q' /proc/cpuinfo, make checkperf ]
---
kind: pipeline
name: x64-build
platform:
os: linux
arch: amd64
steps:
- name: build
image: gcc:8
commands: [ make, make amalgamate ]
---
kind: pipeline
name: x64-slowtests
platform:
os: linux
arch: amd64
steps:
- name: slowtests
image: gcc:8
commands: [ make slowtests ]
---
kind: pipeline
name: arm64-quicktests
platform:
os: linux
arch: arm64
steps:
- name: quicktests
image: gcc:8
commands: [ make quicktests ]
---
kind: pipeline
name: arm64-checkperf
platform:
os: linux
arch: arm64
steps:
- name: checkperf
image: gcc:8
environment:
CHECKPERF_REPOSITORY: https://github.com/lemire/simdjson
2019-11-04 09:58:42 +08:00
commands: [ cat /proc/cpuinfo, make checkperf ]
---
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 ]
---
kind: pipeline
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
platform:
os: linux
arch: amd64
steps:
- name: Build and Test
image: ubuntu:18.04
environment:
CC: clang
CXX: clang++
commands:
- apt-get update -qq
- apt-get install -y clang make cmake
- $CC --version
- mkdir build && cd build
2019-08-04 22:09:16 +08:00
- cmake -DSIMDJSON_BUILD_STATIC=OFF $CMAKE_FLAGS ..
- make -j
- 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++
commands:
- 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
- cmake -DSIMDJSON_BUILD_STATIC=ON $CMAKE_FLAGS ..
- make -j
- ctest --output-on-failure
---
kind: pipeline
2019-08-04 22:09:16 +08:00
name: amd64_gcc_cmake_static
platform:
os: linux
arch: amd64
steps:
- name: Build and Test
2020-01-07 07:28:29 +08:00
image: gcc:8
environment:
CC: gcc
CXX: g++
commands:
- apt-get update -qq
- apt-get install -y cmake
- $CC --version
- mkdir build && cd build
2019-08-04 22:09:16 +08:00
- cmake -DSIMDJSON_BUILD_STATIC=ON $CMAKE_FLAGS ..
- make -j
- 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++
commands:
- apt-get update -qq
- apt-get install -y cmake
2019-08-04 22:09:16 +08:00
- $CC --version
- mkdir build && cd build
- cmake -DSIMDJSON_BUILD_STATIC=OFF $CMAKE_FLAGS ..
- make -j
- ctest --output-on-failure
---
kind: pipeline
2019-08-04 22:09:16 +08:00
name: arm64_clang_cmake_dynamic
platform:
os: linux
arch: arm64
steps:
- name: Build and Test
image: ubuntu:18.04
environment:
CC: clang
CXX: clang++
commands:
- apt-get update -qq
- apt-get install -y clang make cmake
- $CC --version
- mkdir build && cd build
2019-08-04 22:09:16 +08:00
- cmake -DSIMDJSON_BUILD_STATIC=OFF $CMAKE_FLAGS ..
- make -j
- ctest --output-on-failure
---
kind: pipeline
2019-08-04 22:09:16 +08:00
name: arm64_gcc_cmake_dynamic
platform:
os: linux
arch: arm64
steps:
- name: Build and Test
2020-01-07 07:28:29 +08:00
image: gcc:8
environment:
CC: gcc
CXX: g++
commands:
- apt-get update -qq
- apt-get install -y cmake
2019-08-04 22:09:16 +08:00
- $CC --version
- mkdir build && cd build
- cmake -DSIMDJSON_BUILD_STATIC=OFF $CMAKE_FLAGS ..
- make -j
- 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++
commands:
- 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
- cmake -DSIMDJSON_BUILD_STATIC=ON $CMAKE_FLAGS ..
- make -j
- 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++
commands:
- apt-get update -qq
- apt-get install -y cmake
2019-08-04 22:09:16 +08:00
- $CC --version
- mkdir build && cd build
- cmake -DSIMDJSON_BUILD_STATIC=ON $CMAKE_FLAGS ..
- make -j
- ctest --output-on-failure
2019-08-04 22:09:16 +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++
commands:
- apt-get update -qq
- apt-get install -y clang make cmake
- $CC --version
- mkdir build && cd build
- cmake -DSIMDJSON_SANITIZE=ON $CMAKE_FLAGS ..
- 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
environment:
CC: gcc
CXX: g++
commands:
- apt-get update -qq
- apt-get install -y cmake
- $CC --version
- mkdir build && cd build
- cmake -DSIMDJSON_SANITIZE=ON $CMAKE_FLAGS ..
- 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++
commands:
- apt-get update -y
- apt-get install -y make $CC g++ cmake
- $CC --version
- mkdir build && cd build
- cmake -DSIMDJSON_SANITIZE=ON $CMAKE_FLAGS ..
- 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
environment:
CC: gcc
CXX: g++
commands:
- apt-get update -qq
- apt-get install -y cmake
- $CC --version
- mkdir build && cd build
- cmake -DSIMDJSON_SANITIZE=ON $CMAKE_FLAGS ..
- make -j
- ASAN_OPTIONS="detect_leaks=0" ctest --output-on-failure
2019-08-04 22:09:16 +08:00
---
kind: pipeline
name: amd64_clang_cmake_sanitize_noavx
2019-08-04 22:09:16 +08:00
platform:
os: linux
arch: amd64
steps:
- name: Build and Test
image: ubuntu:18.04
environment:
CC: clang
CXX: clang++
commands:
- apt-get update -qq
- apt-get install -y clang make cmake
- $CC --version
- mkdir build && cd build
- cmake -DSIMDJSON_SANITIZE=ON -DSIMDJSON_DISABLE_AVX=ON $CMAKE_FLAGS ..
- 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
platform:
os: linux
arch: amd64
2019-08-04 22:09:16 +08:00
steps:
- name: Build and Test
2020-01-07 07:28:29 +08:00
image: gcc:8
environment:
CC: gcc
CXX: g++
commands:
- apt-get update -qq
- apt-get install -y cmake
- $CC --version
- mkdir build && cd build
- cmake -DSIMDJSON_SANITIZE=ON -DSIMDJSON_DISABLE_AVX=ON $CMAKE_FLAGS ..
- make -j
- ASAN_OPTIONS="detect_leaks=0" ctest --output-on-failure