9999 - { os: macos-latest, shell: bash }
100100 - { os: macos-13, shell: bash }
101101 - { os: windows-latest, shell: pwsh }
102- # \todo Disable MinGW which is failing intermittently.
103- # - { os: windows-latest, shell: msys2, python-version: 'mingw64' }
102+ - { os: windows-latest, shell: msys2, python-version: 'mingw64' }
104103 exclude :
105104 - { os: macos-latest, python-version: 3.9 }
106105
@@ -116,20 +115,20 @@ jobs:
116115 - uses : actions/checkout@v4
117116 with :
118117 submodules : ' recursive'
119- # - name: Set up MSYS2
120- # if: matrix.python-version == 'mingw64'
121- # uses: msys2/setup-msys2@v2
122- # with:
123- # msystem: mingw64
124- # install: >-
125- # mingw-w64-x86_64-python
126- # mingw-w64-x86_64-python-pip
127- # mingw-w64-x86_64-gcc
128- # mingw-w64-x86_64-cmake
129- # make
130- # git
118+ - name : Set up MSYS2
119+ if : matrix.python-version == 'mingw64'
120+ uses : msys2/setup-msys2@v2
121+ with :
122+ msystem : mingw64
123+ install : >-
124+ mingw-w64-x86_64-python
125+ mingw-w64-x86_64-python-pip
126+ mingw-w64-x86_64-gcc
127+ mingw-w64-x86_64-cmake
128+ make
129+ git
131130 - name : Set up Python ${{ matrix.python-version }}
132- # if: matrix.python-version != 'mingw64'
131+ if : matrix.python-version != 'mingw64'
133132134133 with :
135134 python-version : ${{ matrix.python-version }}
@@ -142,6 +141,7 @@ jobs:
142141 run : |
143142 python -m pip install --upgrade pip setuptools wheel "flake8>=3.5" check-manifest
144143 - name : Run check-manifest and lint check
144+ if : matrix.python-version != 'mingw64'
145145 run : make ci-prebuild
146146 - name : Build and Install
147147 run : |
0 commit comments