<commit_before>version: 2
jobs:
  build trial:
    docker:
      - image: dlanguage/dmd:2.079.0
    steps:
      - run: apt-get update
      - run: apt-get install -y libevent-dev libssl-dev
      - run: git clone https://github.com/gedaiu/trial.git
      - run: cd trial && dub build :runner
      - persist_to_workspace:
          root: .
          paths:
            - trial

  ldc-1.2:
    docker:
      - image: dlanguage/ldc:1.2.0
    steps:
      - checkout
      - attach_workspace:
          at: .
      - run: trial/trial
      - run: dub --root=test/unit-threaded
      - run: dub --root=test/disabledSourceResult
      - run: dub --root=test/disabledMessageResult
      - run: dub --root=test/disabledDiffResult

workflows:
  version: 2
  tests:
    jobs:
      - build
      - ldc-1.2:
          requires:
            - build
<commit_msg>add circle ci build for ldc 1.2<commit_after>version: 2
jobs:
  build trial:
    docker:
      - image: dlanguage/dmd:2.079.0
    steps:
      - run: apt-get update
      - run: apt-get install -y libevent-dev libssl-dev
      - run: git clone https://github.com/gedaiu/trial.git
      - run: cd trial && dub build :runner
      - persist_to_workspace:
          root: .
          paths:
            - trial

  ldc-1.2:
    docker:
      - image: dlanguage/ldc:1.2.0
    steps:
      - checkout
      - attach_workspace:
          at: .
      - run: trial/trial
      - run: dub --root=test/unit-threaded
      - run: dub --root=test/disabledSourceResult
      - run: dub --root=test/disabledMessageResult
      - run: dub --root=test/disabledDiffResult

workflows:
  version: 2
  tests:
    jobs:
      - build trial
      - ldc-1.2:
          requires:
            - build trial

{'fraction_non_alphanumeric': 0.11374133949191687, 'fraction_numerical': 0.017321016166281754, 'mean_word_length': 1.594311377245509, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2443373', 'n_tokens_mistral': 603, 'n_tokens_neox': 577, 'n_words': 134}