kind: pipeline name: x64 platform: os: linux arch: amd64 steps: - name: test image: gcc:8 commands: - make - make quiettest - make amalgamate - name: checkperf image: gcc:8 commands: - make checkperf --- kind: pipeline name: arm64 platform: os: linux arch: arm64 steps: - name: test image: gcc:8 commands: - make - make quiettest - make amalgamate - name: checkperf image: gcc:8 commands: - make checkperf --- 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 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 -y - apt-get install -y make $CC g++ cmake - $CC --version - mkdir build && cd build - cmake -DSIMDJSON_BUILD_STATIC=OFF $CMAKE_FLAGS .. - make -j - ctest --output-on-failure --- 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 -y - apt-get install -y make $CC g++ cmake - $CC --version - mkdir build && cd build - cmake -DSIMDJSON_BUILD_STATIC=ON $CMAKE_FLAGS .. - make -j - ctest --output-on-failure --- kind: pipeline name: amd64_gcc_cmake_static platform: os: linux arch: amd64 steps: - name: Build and Test image: ubuntu:18.04 environment: CC: gcc CXX: g++ commands: - apt-get update -y - apt-get install -y make $CC g++ cmake - $CC --version - mkdir build && cd build - cmake -DSIMDJSON_BUILD_STATIC=ON $CMAKE_FLAGS .. - make -j - ctest --output-on-failure --- kind: pipeline name: amd64_gcc_cmake_dynamic platform: os: linux arch: amd64 steps: - name: Build and Test image: ubuntu:18.04 environment: CC: gcc CXX: g++ commands: - apt-get update -y - apt-get install -y make $CC g++ cmake - $CC --version - mkdir build && cd build - cmake -DSIMDJSON_BUILD_STATIC=OFF $CMAKE_FLAGS .. - make -j - ctest --output-on-failure --- kind: pipeline 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 -y - apt-get install -y make $CC g++ cmake - $CC --version - mkdir build && cd build - cmake -DSIMDJSON_BUILD_STATIC=OFF $CMAKE_FLAGS .. - make -j - ctest --output-on-failure --- kind: pipeline name: arm64_gcc_cmake_dynamic platform: os: linux arch: arm64 steps: - name: Build and Test image: ubuntu:18.04 environment: CC: gcc CXX: g++ commands: - apt-get update -y - apt-get install -y make $CC g++ cmake - $CC --version - mkdir build && cd build - cmake $CMAKE_FLAGS .. - make -j - ctest --output-on-failure commands: - apt-get update -y - apt-get install -y make $CC g++ cmake - $CC --version - mkdir build && cd build - cmake -DSIMDJSON_BUILD_STATIC=OFF $CMAKE_FLAGS .. - make -j - ctest --output-on-failure --- 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 -y - apt-get install -y make $CC g++ cmake - $CC --version - mkdir build && cd build - cmake -DSIMDJSON_BUILD_STATIC=ON $CMAKE_FLAGS .. - make -j - ctest --output-on-failure --- kind: pipeline name: arm64_gcc_cmake_static platform: os: linux arch: arm64 steps: - name: Build and Test image: ubuntu:18.04 environment: CC: gcc CXX: g++ commands: - apt-get update -y - apt-get install -y make $CC g++ cmake - $CC --version - mkdir build && cd build - cmake -DSIMDJSON_BUILD_STATIC=ON $CMAKE_FLAGS .. - make -j - ctest --output-on-failure --- 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 -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: arm64_gcc_cmake_sanitize platform: os: linux arch: arm64 steps: - name: Build and Test image: ubuntu:18.04 environment: CC: gcc CXX: g++ 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_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 image: ubuntu:18.04 environment: CC: gcc CXX: g++ 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_clang_cmake_sanitize_noavx 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 -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 platform: os: linux arch: amd64 steps: - name: Build and Test image: ubuntu:18.04 environment: CC: gcc CXX: g++ commands: - apt-get update -y - apt-get install -y make $CC g++ 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