Skip to content

Commit 7caa12c

Browse files
cshungCopilot
andcommitted
Use native libclang in ARM64 smoke
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: cshung <3410332+cshung@users.noreply.github.com>
1 parent 38a0f81 commit 7caa12c

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/WindowsArm64Smoke.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,23 @@ jobs:
3636
cargo --version
3737
systeminfo | Select-String "OS Name","OS Version","System Type"
3838
39+
- name: Configure ARM64 libclang
40+
run: |
41+
$vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
42+
$installPath = & $vswhere -latest -products * -property installationPath
43+
$libclang = Join-Path $installPath "VC\Tools\Llvm\ARM64\bin\libclang.dll"
44+
if (-not (Test-Path $libclang)) {
45+
throw "ARM64 libclang not found at '$libclang'"
46+
}
47+
$llvmPath = Split-Path $libclang
48+
"LIBCLANG_PATH=$llvmPath" >> $env:GITHUB_ENV
49+
$llvmPath >> $env:GITHUB_PATH
50+
3951
- name: Build hyperlight-host
4052
run: cargo build -p hyperlight-host
4153

42-
- name: Build Rust guests
43-
run: just build-and-move-rust-guests
54+
- name: Build guests
55+
run: just guests
4456
env:
4557
HYPERLIGHT_TARGET: aarch64
4658

0 commit comments

Comments
 (0)