<commit_before>version: 2.0

references:
  rust_cfg: &rust_cfg
    docker:
      - image: rust:1.32

jobs:
  test-static:
    <<: *rust_cfg
    steps:
      - checkout
      - run:
          name: Test OpenBLAS/FFTW backend
          command: |
            apt update && apt install -y gfortran
            cargo test --no-default-features --features=static

  test-intel-mkl:
    <<: *rust_cfg
    steps:
      - checkout
      - run:
          name: Test Intel MKL backend
          command: |
            cargo test --no-default-features --features=intel-mkl

workflows:
  version: 2
  tests:
    jobs:
      - test-static
      - test-intel-mkl
<commit_msg>Run benchmark on CI<commit_after>version: 2.0

references:
  rust_cfg: &rust_cfg
    docker:
      - image: rust:1.32

jobs:
  test-static:
    <<: *rust_cfg
    steps:
      - checkout
      - run:
          name: Test OpenBLAS/FFTW backend
          command: |
            apt update && apt install -y gfortran
            cargo test --no-default-features --features=static

  test-intel-mkl:
    <<: *rust_cfg
    steps:
      - checkout
      - run:
          name: Test Intel MKL backend
          command: |
            cargo test --no-default-features --features=intel-mkl

  run-benchmark:
    <<: *rust_cfg
    steps:
      - checkout
      - run:
          name: Check benchmark works
          command: |
            cargo bench --no-default-features --features=intel-mkl

workflows:
  version: 2
  tests:
    jobs:
      - test-static
      - test-intel-mkl
      - run-benchmark

{'fraction_non_alphanumeric': 0.10367031551835158, 'fraction_numerical': 0.0077269800386349004, 'mean_word_length': 1.611764705882353, 'pattern_counts': {'":': 0, '<': 13, '<?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': '6772962', 'n_tokens_mistral': 517, 'n_tokens_neox': 496, 'n_words': 120}