Skip to content

Commit 0e248ac

Browse files
committed
Use clang for Windows builds
1 parent b0a1381 commit 0e248ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,12 +193,13 @@ jobs:
193193
- name: Install clang
194194
run: |
195195
choco install llvm -y
196+
echo "C:\\Program Files\\LLVM\\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
196197
197198
- name: Build package
198199
env:
199200
CC: clang-cl
200201
CXX: clang-cl
201-
CXXFLAGS: "-std=c++17"
202+
CL: "/std:c++17"
202203
run: |
203204
python scripts/build/install.py
204205

0 commit comments

Comments
 (0)