<commit_before>name: Ubuntu 20.04 CI (GCC 9, 8)

on: [push, pull_request]

jobs:
  ubuntu-build:
    runs-on: ubuntu-20.04
    strategy:
      fail-fast: false
      matrix:
        include:
          - {cxx: -DCMAKE_CXX_COMPILER=g++-8, arch:                         }
          - {cxx:                           , arch:                         } # default=gcc9
          - {cxx:                           , arch: -DCMAKE_CXX_FLAGS="-m32"} # default=gcc9
    steps:
      - uses: actions/checkout@v2
      - name: Setup cmake
        uses: jwlawson/actions-setup-cmake@v1.0
        with:
          cmake-version: '3.9.x'
      - name: install older compilers
        run: |
          sudo -E dpkg --add-architecture i386
          sudo -E apt-get update
          sudo -E apt-get install -y g++-8 g++-8-multilib g++-multilib linux-libc-dev:i386 libc6:i386 libc6-dev:i386 libc6-dbg:i386
    - name: Prepare build dir
        run: mkdir build
      - name: Configure
        run: cd build && cmake ${{matrix.cxx}} ${{matrix.arch}} -DFASTFLOAT_TEST=ON ..
      - name: Build
        run: cmake --build build
      - name: Run basic tests
        run: cd build && ctest --output-on-failure -R basictest<commit_msg>ubuntu20 CI: fix typo<commit_after>name: Ubuntu 20.04 CI (GCC 9, 8)

on: [push, pull_request]

jobs:
  ubuntu-build:
    runs-on: ubuntu-20.04
    strategy:
      fail-fast: false
      matrix:
        include:
          - {cxx: -DCMAKE_CXX_COMPILER=g++-8, arch:                         }
          - {cxx:                           , arch:                         } # default=gcc9
          - {cxx:                           , arch: -DCMAKE_CXX_FLAGS="-m32"} # default=gcc9
    steps:
      - uses: actions/checkout@v2
      - name: Setup cmake
        uses: jwlawson/actions-setup-cmake@v1.0
        with:
          cmake-version: '3.9.x'
      - name: install older compilers
        run: |
          sudo -E dpkg --add-architecture i386
          sudo -E apt-get update
          sudo -E apt-get install -y g++-8 g++-8-multilib g++-multilib linux-libc-dev:i386 libc6:i386 libc6-dev:i386 libc6-dbg:i386
      - name: Prepare build dir
        run: mkdir build
      - name: Configure
        run: cd build && cmake ${{matrix.cxx}} ${{matrix.arch}} -DFASTFLOAT_TEST=ON ..
      - name: Build
        run: cmake --build build
      - name: Run basic tests
        run: cd build && ctest --output-on-failure -R basictest
{'fraction_non_alphanumeric': 0.1205761316872428, 'fraction_numerical': 0.03374485596707819, 'mean_word_length': 1.5322916666666666, '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': '5261061', 'n_tokens_mistral': 893, 'n_tokens_neox': 798, 'n_words': 200}