@@ -115,41 +115,6 @@ jobs:
115115 echo "Enforcing target deployment for 14.0"
116116 fi
117117
118- # - name: Add clang path to $PATH env
119- # if: runner.os == 'Windows'
120- # run: echo "C:\msys64\mingw64\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
121-
122- # - name: Add clang path to $PATH env
123- # if: runner.os == 'Windows'
124- # run: |
125- # echo "CC=clang" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
126- # echo "CXX=clang++" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
127-
128- - name : Install MSYS2
129- run : |
130- choco install msys2 --no-progress --yes
131- Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
132- refreshenv
133-
134- - name : Update MSYS2 and install toolchain
135- shell : msys2 {0}
136- run : |
137- pacman -Syu --noconfirm
138- pacman -S --noconfirm --needed mingw-w64-x86_64-gcc
139-
140- - name : Build wheels for windows
141- if : runner.os == 'Windows'
142- run : |
143- python3 -m cibuildwheel --output-dir wheelhouse
144- env :
145- # Make sure to put MinGW64 bin folder first in PATH
146- CIBW_BEFORE_ALL_WINDOWS : |
147- set PATH=C:\msys64\mingw64\bin;%PATH%
148- # Use gcc/g++ from MinGW
149- CIBW_ENVIRONMENT_WINDOWS : |
150- CC=gcc
151- CXX=g++
152-
153118 - name : Build wheels
154119 if : runner.os != 'Windows'
155120 run : |
@@ -227,9 +192,6 @@ jobs:
227192 permissions :
228193 id-token : write
229194
230- # upload to PyPI on every tag starting with 'v'
231- # alternatively, to publish when a GitHub Release is created, use the following rule:
232- # if: github.event_name == 'release' && github.event.action == 'published'
233195 steps :
234196 - uses : actions/download-artifact@v4
235197 with :
0 commit comments