<commit_before>name: CMake

on:
  push:
    branches: [ master ]
  pull_request:
    branches: "*"
  schedule:
    # Nightly tests (on master)
    - cron: "0 0 * * *"

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [macOS-latest, ubuntu-latest, windows-latest]
        btype: [ Release, Debug]

    steps:
    - uses: actions/checkout@v2

    - name: Build Boost
      id: boost
      uses: egor-tensin/build-boost@v1
      with:
        version: 1.71.0
        configuration: Release

    - name: Configure CMake
      run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.btype}}

    - name: Build
      run: cmake --build ${{github.workspace}}/build --config ${{env.btype}}

    - name: Test
      working-directory: ${{github.workspace}}/build
      run: ctest -C ${{env.btype}}
      <commit_msg>try linux only<commit_after>name: CMake

on:
  push:
    branches: [ master ]
  pull_request:
    branches: "*"
  schedule:
    # Nightly tests (on master)
    - cron: "0 0 * * *"

jobs:
  build:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest]
        btype: [Release, Debug]

    steps:
    - uses: actions/checkout@v2

    - name: Install Boost
      run: sudo apt install libboost-all-dev

    - name: Install Armadillo
      run: sudo apt install libarmadillo-dev

    - name: Configure CMake
      run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.btype}} -DWITH_ARMA=TRUE

    - name: Build
      run: cmake --build ${{github.workspace}}/build --config ${{env.btype}}

    - name: Test
      working-directory: ${{github.workspace}}/build
      run: ctest -C ${{env.btype}}
      
{'fraction_non_alphanumeric': 0.14386792452830188, 'fraction_numerical': 0.006485849056603774, 'mean_word_length': 2.257197696737044, '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': '1046173', 'n_tokens_mistral': 613, 'n_tokens_neox': 571, 'n_words': 141}