<commit_before>kind: pipeline
name: arch-g++

steps:
- name: build-and-test
  image: muttleyxd/a3ul_archlinux_build:latest
  commands:
    - mkdir /tmp/build && cd /tmp/build
    - cmake /drone/src -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror" -DRUN_TESTS=ON -DDEVELOPER_MODE=ON
    - make -j$(nproc)
    - ctest -V

---
kind: pipeline
name: ubuntu-18.04-g++-8

steps:
- name: build-and-test
  image: muttleyxd/a3ul_ubuntu-18.04_build:latest
  commands:
    - mkdir /tmp/build && cd /tmp/build
    - cmake /drone/src -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror" -DCMAKE_CXX_COMPILER=g++-8 -DRUN_TESTS=ON -DDEVELOPER_MODE=ON
    - make -j$(nproc)
    - ctest -V

---
kind: pipeline
name: arch-clang-fuzzing-tests

steps:
- name: build-and-test
  image: muttleyxd/a3ul_archlinux_build:latest
  commands:
    - mkdir /tmp/build && cd /tmp/build
    - cmake /drone/src -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-Werror" -DRUN_TESTS=ON -DDEVELOPER_MODE=ON -DRUN_TESTS_FUZZING=ON -DRUN_TESTS_UNIT=OFF
    - make -j$(nproc)
    - export ASAN_OPTIONS=detect_leaks=0
    - ctest --output-on-failure || ls | grep crash | xargs -n1 cat

---
kind: pipeline
name: arch-g++-package<commit_msg>drone: disable leak sanitizer<commit_after>kind: pipeline
name: arch-g++

steps:
- name: build-and-test
  image: muttleyxd/a3ul_archlinux_build:latest
  commands:
    - mkdir /tmp/build && cd /tmp/build
    - cmake /drone/src -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror" -DRUN_TESTS=ON -DDEVELOPER_MODE=ON
    - make -j$(nproc)
    - ctest -V

---
kind: pipeline
name: ubuntu-18.04-g++-8

steps:
- name: build-and-test
  image: muttleyxd/a3ul_ubuntu-18.04_build:latest
  commands:
    - mkdir /tmp/build && cd /tmp/build
    - cmake /drone/src -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="-Werror" -DCMAKE_CXX_COMPILER=g++-8 -DRUN_TESTS=ON -DDEVELOPER_MODE=ON
    - make -j$(nproc)
    - ctest -V

---
kind: pipeline
name: arch-clang-fuzzing-tests

steps:
- name: build-and-test
  image: muttleyxd/a3ul_archlinux_build:latest
  commands:
    - mkdir /tmp/build && cd /tmp/build
    - cmake /drone/src -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-Werror" -DRUN_TESTS=ON -DDEVELOPER_MODE=ON -DRUN_TESTS_FUZZING=ON -DRUN_TESTS_UNIT=OFF
    - make -j$(nproc)
    - export ASAN_OPTIONS=detect_leaks=0 # LSAN needs to be disabled, because cloud.drone.io doesn't offer ptrace capability
    - ctest --output-on-failure || ls | grep crash | xargs -n1 cat

---
kind: pipeline
name: arch-g++-package
{'fraction_non_alphanumeric': 0.1380392156862745, 'fraction_numerical': 0.011764705882352941, 'mean_word_length': 3.475438596491228, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3538125', 'n_tokens_mistral': 1091, 'n_tokens_neox': 1033, 'n_words': 189}