Commit f94d277
fix(ci): setup MSVC environment for Windows ARM64 builds (#489)
The ring crate build was failing with 'assert.h not found' error because
clang couldn't find the Windows SDK headers. This happens when building
for aarch64-pc-windows-msvc without the proper MSVC environment variables.
This fix adds the ilammy/msvc-dev-cmd action to set up the MSVC developer
command prompt environment (INCLUDE, LIB, LIBPATH, etc.) before building.
The action is configured with 'amd64_arm64' arch for cross-compiling from
x64 to ARM64.
Reference: briansmith/ring#2135
Co-authored-by: Droid Agent <droid@factory.ai>1 parent ca55b1c commit f94d277
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
166 | 172 | | |
167 | 173 | | |
168 | 174 | | |
| |||
0 commit comments