<commit_before># This is for the dronie 1.0 agent
# https://docs.drone.io/user-guide/pipeline/steps/ https://docs.drone.io/user-guide/pipeline/migrating/
# See https://git.osgeo.org/gitea/geos/geos-docker
test-image: &test-image docker.osgeo.org/geos/build-test:alpine

kind: pipeline
name: default

clone:
    image: plugins/git
    depth: 50
    recursive: false

steps:
  - name: build
    image: *test-image
    pull: always
    commands:
      - mkdir build
      - cd build
      - cmake --version
      - CXXFLAGS="-O0" cmake ..
      - make V=0
  - name: check
    image: *test-image
    commands:
      - ctest --output-on-failure .
  # - name: docs
  #   image: *test-image
  #   commands:
  #     - make doxygen-checked
  # - name: valgrindcheck
  #   image: *test-image
  #   commands:
  #     - CXXFLAGS="-O0" make valgrindcheck V=0<commit_msg>Try again to fix ctest<commit_after># This is for the dronie 1.0 agent
# https://docs.drone.io/user-guide/pipeline/steps/ https://docs.drone.io/user-guide/pipeline/migrating/
# See https://git.osgeo.org/gitea/geos/geos-docker
test-image: &test-image docker.osgeo.org/geos/build-test:alpine

kind: pipeline
name: default

clone:
    image: plugins/git
    depth: 50
    recursive: false

steps:
  - name: build
    image: *test-image
    pull: always
    commands:
      - mkdir build
      - cd build
      - cmake --version
      - CXXFLAGS="-O0" cmake ..
      - make V=0
  - name: check
    image: *test-image
    commands:
      - cd build
      - ctest --output-on-failure .
  # - name: docs
  #   image: *test-image
  #   commands:
  #     - make doxygen-checked
  # - name: valgrindcheck
  #   image: *test-image
  #   commands:
  #     - CXXFLAGS="-O0" make valgrindcheck V=0
{'fraction_non_alphanumeric': 0.13275862068965516, 'fraction_numerical': 0.009195402298850575, 'mean_word_length': 2.2542056074766355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '5150548', 'n_tokens_mistral': 647, 'n_tokens_neox': 636, 'n_words': 139}