Skip to content

Commit 01ebb8c

Browse files
committed
1
1 parent 3dc3d45 commit 01ebb8c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/lib-build-and-push.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ jobs:
8787
if: runner.os == 'Windows'
8888
run: |
8989
choco install openssl --version=3.4.1 -f -y
90+
choco install llvm -y
9091
9192
- name: Install Conan
9293
if: runner.os == 'Windows'
@@ -116,9 +117,19 @@ jobs:
116117
fi
117118
118119
- name: Build wheels
120+
if: runner.os != 'Windows'
119121
run: |
120122
python3 -m cibuildwheel --output-dir wheelhouse
121123
124+
- name: Build wheels
125+
if: runner.os == 'Windows'
126+
run: |
127+
python3 -m cibuildwheel --output-dir wheelhouse
128+
env:
129+
CC: "C:\Program Files\LLVM\bin\clang.exe"
130+
CXX: "C:\Program Files\LLVM\bin\clang++.exe"
131+
CIBW_ENVIRONMENT_WINDOWS: "CC=\"C:\Program Files\LLVM\bin\clang.exe\" CXX=\"C:\Program Files\LLVM\bin\clang++.exe\""
132+
122133
- uses: actions/upload-artifact@v4
123134
with:
124135
name: wheels-${{ matrix.os }}-${{ matrix.platform }}

0 commit comments

Comments
 (0)