Skip to content

Commit 60eedf1

Browse files
committed
ci(test): run native ARM64 Windows without ASan (unavailable for win-arm64)
The native CLANGARM64 toolchain compiles the project fine, but linking the test build fails: LLVM ships no AddressSanitizer runtime for aarch64-w64-windows-gnu (libclang_rt.asan_dynamic.dll.a not found). ASan also cannot intercept under x86-64 emulation, so Windows ARM64 has no working ASan by any toolchain. Run the windows-11-arm leg with SANITIZE= (no sanitizer) so it builds and runs the full suite natively as a real, required functional gate. ASan/UBSan coverage is provided by the other nine legs, including native-ARM Linux/macOS; x86-64 Windows keeps full sanitizers. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
1 parent d30bccd commit 60eedf1

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/_test.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ jobs:
110110
111111
- name: Test
112112
shell: msys2 {0}
113-
run: scripts/test.sh CC=clang CXX=clang++
113+
# AddressSanitizer is unavailable on native ARM64 Windows (LLVM ships no
114+
# libclang_rt.asan for aarch64-w64-windows-gnu) and cannot intercept the
115+
# system DLLs under x86-64 emulation either, so windows-11-arm runs the
116+
# native ARM64 build with SANITIZE= (no sanitizer) — still a real
117+
# functional gate. ASan/UBSan coverage comes from the other 9 legs,
118+
# including native-ARM Linux/macOS. x86-64 Windows keeps full sanitizers.
119+
run: scripts/test.sh CC=clang CXX=clang++ ${{ matrix.os == 'windows-11-arm' && 'SANITIZE=' || '' }}
114120
env:
115121
CBM_SKIP_PERF: ${{ inputs.skip_perf && '1' || '' }}

0 commit comments

Comments
 (0)