Skip to content

Commit 0af5034

Browse files
committed
1
1 parent 7c98fcc commit 0af5034

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/build-push.yml

+7-9
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ jobs:
7070
run: |
7171
choco install openssl --version=3.3.2 -f -y
7272
73+
- name: Install CLang for Windows
74+
if: runner.os == 'Windows'
75+
run: |
76+
choco install llvm -y
77+
refreshenv
78+
7379
- name: Install Conan
7480
if: runner.os == 'Windows'
7581
uses: turtlebrowser/get-conan@main
@@ -100,6 +106,7 @@ jobs:
100106
if: runner.os == 'Windows' && matrix.platform == 'win64'
101107
run: |
102108
echo "CIBW_BUILD=cp*win_amd64" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
109+
echo "CIBW_ENVIRONMENT_WINDOWS= CC=clang CXX=clang++" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
103110
104111
- name: Overwrite for Windows PyPY
105112
if: runner.os == 'Windows' && matrix.platform == 'PyPy'
@@ -129,15 +136,6 @@ jobs:
129136
echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV
130137
echo "CIBW_TEST_COMMAND_MACOS=" >> $GITHUB_ENV
131138
132-
- name: Install and configure MSVC
133-
uses: TheMrMilchmann/setup-msvc-dev@v3
134-
if: matrix.os == 'windows-2022'
135-
with:
136-
arch: x64
137-
# sdk: 10.0.10240.0
138-
toolset: 14
139-
uwp: true
140-
141139
- name: Build wheels
142140
run: |
143141
python3 -m cibuildwheel --output-dir wheelhouse

0 commit comments

Comments
 (0)