<commit_before>name: "Windows MinGW"
on:
  - push
  - pull_request
jobs:
  build:
    name: Build
    runs-on: windows-2019
    steps:
      - uses: actions/checkout@master
      - name: Install MSYS2
        run: |
          git clone ^
            --depth 1 ^
            https://github.com/msys2/msys2-ci-base.git ^
            %CD:~0,2%\msys64
      - name: Prepare environment
        run: |
          echo set MSYS_ROOT=%CD:~0,2%\msys64>> environment.bat
          echo set PATH=%%MSYS_ROOT%%\usr\bin;%%PATH%%>> environment.bat
          echo set PATH=%%MSYS_ROOT%%\mingw64\bin;%%PATH%%>> environment.bat
          echo set MSYSTEM=MINGW64>> environment.bat
          type environment.bat
          call environment.bat
          set
      - name: Install dependencies
        run: |
          call environment.bat
          pacman --sync --refresh --noconfirm --sysupgrade
          pacman --sync --refresh --noconfirm --needed ^
            git ^
            mingw-w64-x86_64-gcc ^
            mingw-w64-x86_64-python3-sphinx ^
            mingw-w64-x86_64-ruby ^
            mingw-w64-x86_64-zlib
      - name: Generate configure
        run: |
          call environment.bat
          bash autogen.sh
      - name: Configure for archive
        run: |
          call environment.bat
          bash configure ^
            --enable-document ^
            --enable-mruby ^
            --with-ruby
      - name: Build archive
        run: |
          call environment.bat
          make dist<commit_msg>github actions: use the latest Sphinx<commit_after>name: "Windows MinGW"
on:
  - push
  - pull_request
jobs:
  build:
    name: Build
    runs-on: windows-2019
    steps:
      - uses: actions/checkout@master
      - name: Install MSYS2
        run: |
          git clone ^
            --depth 1 ^
            https://github.com/msys2/msys2-ci-base.git ^
            %CD:~0,2%\msys64
      - name: Prepare environment
        run: |
          echo set MSYS_ROOT=%CD:~0,2%\msys64>> environment.bat
          echo set PATH=%%MSYS_ROOT%%\usr\bin;%%PATH%%>> environment.bat
          echo set PATH=%%MSYS_ROOT%%\mingw64\bin;%%PATH%%>> environment.bat
          echo set MSYSTEM=MINGW64>> environment.bat
          type environment.bat
          call environment.bat
          set
      - name: Install dependencies
        run: |
          call environment.bat
          pacman --sync --yy --noconfirm --sysupgrade
          pacman --sync --noconfirm --needed ^
            git ^
            mingw-w64-x86_64-gcc ^
            mingw-w64-x86_64-python3-pip ^
            mingw-w64-x86_64-ruby ^
            mingw-w64-x86_64-zlib
            pip3 install -U Sphinx
      - name: Generate configure
        run: |
          call environment.bat
          bash autogen.sh
      - name: Configure for archive
        run: |
          call environment.bat
          bash configure ^
            --enable-document ^
            --enable-mruby ^
            --with-ruby
      - name: Build archive
        run: |
          call environment.bat
          make dist
{'fraction_non_alphanumeric': 0.10519438092126757, 'fraction_numerical': 0.029728846782097355, 'mean_word_length': 1.465378421900161, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, 'https://': 2, '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': '5431232', 'n_tokens_mistral': 1000, 'n_tokens_neox': 918, 'n_words': 205}