<commit_before>name: ci

on: push

jobs:
  build-windows:
    runs-on: windows-latest
    steps:
    - name: Cloning Repo
      run: git clone --depth=1 https://github.com/radareorg/sdb
    - name: Windows Dependencies
      run: |
        pip install meson ninja
    - name: Building Sdb
      run: cd sdb && meson build && ninja -C build
    - name: Pub
      uses: actions/upload-artifact@v2
      with:
        path: sdb/build/*.exe
  build-linux:
    runs-on: ubuntu-latest
    steps:
    - name: Cloning Repo
      run: git clone --depth=1 https://github.com/radareorg/sdb
    - name: Building Sdb
      run: cd sdb && make -j4 && cd ..
    - name: Packaging
      run: cd sdb/dist/debian && make -j4 && cd ../../..
    - name: Running tests
      run: cd sdb && make test && cd ..
    - name: Pub
      uses: actions/upload-artifact@v2
      with:
        path: sdb/dist/debian/sdb/*.deb
  build-macos:
    runs-on: macos-latest
    steps:
    - name: Cloning Repo
      run: git clone --depth=1 https://github.com/radareorg/sdb
    - name: Building Sdb<commit_msg>Add -Werror in the CI<commit_after>name: ci

on:
  push:
  master:

jobs:
  build-windows:
    runs-on: windows-latest
    steps:
    - name: Cloning Repo
      run: git clone --depth=1 https://github.com/radareorg/sdb
    - name: Windows Dependencies
      run: |
        pip install meson ninja
    - name: Building Sdb
      run: cd sdb && meson build && ninja -C build
    - name: Pub
      uses: actions/upload-artifact@v2
      with:
        path: sdb/build/*.exe
  build-linux:
    runs-on: ubuntu-latest
    steps:
    - name: Cloning Repo
      run: git clone --depth=1 https://github.com/radareorg/sdb
    - name: Building Sdb
      run: export CFLAGS="-Werror -Wall"; cd sdb && make -j4 && cd ..
    - name: Packaging
      run: cd sdb/dist/debian && make -j4 && cd ../../..
    - name: Running tests
      run: cd sdb && make test && cd ..
    - name: Pub
      uses: actions/upload-artifact@v2
      with:
        path: sdb/dist/debian/sdb/*.deb
  build-macos:
    runs-on: macos-latest
    steps:
    - name: Cloning Repo
      run: git clone --depth=1 https://github.com/radareorg/sdb
    - name: Building Sdb
{'fraction_non_alphanumeric': 0.12887067395264118, 'fraction_numerical': 0.006375227686703097, 'mean_word_length': 1.9293333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '83539', 'n_tokens_mistral': 780, 'n_tokens_neox': 758, 'n_words': 213}