<commit_before>language: rust
rust:
  - nightly
cache: cargo

addons:
  apt:
    sources:
      - debian-sid
    packages:
      - binutils-arm-none-eabi

env:
  - TARGET=x86_64-unknown-linux-gnu
  - TARGET=thumbv6m-none-eabi


before_script:
  - export PATH="$PATH:$HOME/.cargo/bin"
  - which xargo || (cd .. && cargo install xargo -f --vers 0.3.8)
  - rustup component list | grep 'rust-src.*installed' || rustup component add rust-src
  - which rustfmt || (cd .. && cargo install rustfmt)

script:
  - xargo check --target $TARGET
  - . ./ci/lint.sh<commit_msg>Make sure the build fails if anything goes wrong.<commit_after>language: rust
rust:
  - nightly
cache: cargo

addons:
  apt:
    sources:
      - debian-sid
    packages:
      - binutils-arm-none-eabi

env:
  - TARGET=x86_64-unknown-linux-gnu
  - TARGET=thumbv6m-none-eabi


before_script:
  - export PATH="$PATH:$HOME/.cargo/bin"
  - which xargo || (cd .. && cargo install xargo -f --vers 0.3.8)
  - rustup component list | grep 'rust-src.*installed' || rustup component add rust-src
  - which rustfmt || (cd .. && cargo install rustfmt)
  - set -e

script:
  - xargo check --target $TARGET
  - . ./ci/lint.sh

after_script:
  - set +e
{'fraction_non_alphanumeric': 0.14154870940882597, 'fraction_numerical': 0.013322231473771857, 'mean_word_length': 2.6096096096096097, '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': '3037990', 'n_tokens_mistral': 451, 'n_tokens_neox': 432, 'n_words': 108}