Skip to content

Commit 4767b38

Browse files
authored
chore: enable win builds (#131)
* chore: enable win builds * debug macos failure * bump tempo, enable win build * clang * reenable
1 parent 479ac33 commit 4767b38

File tree

3 files changed

+266
-257
lines changed

3 files changed

+266
-257
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@ jobs:
112112
svm_target_platform: macosx-aarch64
113113
platform: darwin
114114
arch: arm64
115-
# - runner: depot-windows-latest-16
116-
# target: x86_64-pc-windows-msvc
117-
# svm_target_platform: windows-amd64
118-
# platform: win32
119-
# arch: amd64
115+
- runner: depot-windows-latest-16
116+
target: x86_64-pc-windows-msvc
117+
svm_target_platform: windows-amd64
118+
platform: win32
119+
arch: amd64
120120
steps:
121121
- uses: actions/checkout@v6
122122
with:
@@ -138,6 +138,14 @@ jobs:
138138
printf 'SDKROOT=%s\n' "$(xcrun -sdk macosx --show-sdk-path)" >> "$GITHUB_ENV"
139139
printf 'MACOSX_DEPLOYMENT_TARGET=%s\n' "$(xcrun -sdk macosx --show-sdk-platform-version)" >> "$GITHUB_ENV"
140140
141+
- name: Windows setup
142+
if: matrix.target == 'x86_64-pc-windows-msvc'
143+
shell: powershell
144+
run: |
145+
choco install llvm -y
146+
printf "LIBCLANG_PATH=C:\\Program Files\\LLVM\\bin\n" >> "$GITHUB_ENV"
147+
printf "PATH=C:\\Program Files\\LLVM\\bin:$PATH\n" >> "$GITHUB_ENV"
148+
141149
- name: cross setup
142150
if: contains(matrix.target, 'musl')
143151
uses: taiki-e/cache-cargo-install-action@7447f04c51f2ba27ca35e7f1e28fab848c5b3ba7 # v2

0 commit comments

Comments
 (0)