<commit_before>name: 'Linux x86-64'
on: push

jobs:
  linux-sdk:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Get Date
        id: get-date
        run: |
          echo "::set-output name=date::$(/bin/date -u "+%Y-%m-%d-%H;%M;%S")"
        shell: bash
      - name: ccache cache files
        uses: actions/cache@v1.1.0
        with:
          path: ~/.ccache
          key: <KEY>{{ runner.os }}-${{ steps.get-date.outputs.date }}
          restore-keys: |
              linux-x86-64-${{ runner.os }}-
      - name: Build Python 3.6 wheel
        shell: bash
        if: startsWith(github.ref, 'refs/tags/')
        env:
          PYTHON_VERSION: 36
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp36-cp36m/bin/python3.6 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux.sh
      - name: Build Python 3.7 wheel
        shell: bash
        env:
          PYTHON_VERSION: 37
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp37-cp37m/bin/python3.7 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux_test.sh
      - name: Build Python 3.8 wheel
        shell: bash
        env:
          PYTHON_VERSION: 38
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp38-cp38/bin/python3.8 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux.sh
      - name: Build Python 3.9 wheel
        shell: bash
        env:
          PYTHON_VERSION: 39
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp39-cp39/bin/python3.9 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux.sh
      - name: Build Python 3.10 wheel
        shell: bash
        env:
          PYTHON_VERSION: 310
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp310-cp310/bin/python3.10 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux.sh
          docker run --rm \
           -v $GITHUB_WORKSPACE:/src \
           liefproject/archlinux bash /src/scripts/docker/run_archlinux.sh
      - name: Build Python 3.11 wheel<commit_msg>Run tests with Python 3.10<commit_after>name: 'Linux x86-64'
on: push

jobs:
  linux-sdk:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Get Date
        id: get-date
        run: |
          echo "::set-output name=date::$(/bin/date -u "+%Y-%m-%d-%H;%M;%S")"
        shell: bash
      - name: ccache cache files
        uses: actions/cache@v1.1.0
        with:
          path: ~/.ccache
          key: <KEY>{{ runner.os }}-${{ steps.get-date.outputs.date }}
          restore-keys: |
              <KEY>{{ runner.os }}-
      - name: Build Python 3.6 wheel
        shell: bash
        if: startsWith(github.ref, 'refs/tags/')
        env:
          PYTHON_VERSION: 36
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp36-cp36m/bin/python3.6 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux.sh
      - name: Build & Test Python 3.10 wheel
        shell: bash
        env:
          PYTHON_VERSION: 310
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp310-cp310/bin/python3.10 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux_test.sh
          docker run --rm \
           -v $GITHUB_WORKSPACE:/src \
           liefproject/archlinux bash /src/scripts/docker/run_archlinux.sh
      - name: Build Python 3.7 wheel
        shell: bash
        env:
          PYTHON_VERSION: 37
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp37-cp37m/bin/python3.7 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux.sh
      - name: Build Python 3.8 wheel
        shell: bash
        env:
          PYTHON_VERSION: 38
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp38-cp38/bin/python3.8 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux.sh
      - name: Build Python 3.9 wheel
        shell: bash
        env:
          PYTHON_VERSION: 39
        run: |
          docker run --rm \
           -e CCACHE_COMPRESS=1 \
           -e CCACHE_MAXSIZE=10.0G \
           -e CCACHE_CPP2=1 \
           -e CCACHE_DIR=/ccache \
           -e PYTHON_VERSION=$PYTHON_VERSION \
           -e PYTHON_BINARY=/opt/python/cp39-cp39/bin/python3.9 \
           -v $GITHUB_WORKSPACE:/src \
           -v $HOME/.ccache:/ccache \
           liefproject/manylinux_2_24_x86_64 bash /src/scripts/docker/run_linux.sh
      - name: Build Python 3.11 wheel
{'fraction_non_alphanumeric': 0.11430955360867752, 'fraction_numerical': 0.03768599638436935, 'mean_word_length': 1.4371399525584547, 'pattern_counts': {'":': 2, '<': 6, '<?xml version=': 0, '>': 6, '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': '227249', 'n_tokens_mistral': 2751, 'n_tokens_neox': 2581, 'n_words': 454}