feat: build and smoke test native Windows ARM64 packages

This commit is contained in:
Kevin Yue committed 2026-11-15 00:25:34 +08:00
1 parent 87fdcc76b3
commit de9656fcd2
10 files changed
+139 -22

No files matched your search

+3 -1
View File
@@ -8,7 +8,9 @@ prefix=$(cygpath -u "$2")
build_dir="$repo/target/openconnect-windows"
source_dir="$repo/crates/openconnect/deps/openconnect"
export PATH="$prefix/bin:$PATH"
gcc -Wall -Wextra -I"$build_dir" -I"$source_dir" -I"$source_dir/json" \
compiler=gcc
if [[ $subsystem == clangarm64 ]]; then compiler=clang; fi
"$compiler" -Wall -Wextra -I"$build_dir" -I"$source_dir" -I"$source_dir/json" \
$(pkg-config --cflags gnutls libxml-2.0) \
"$repo/crates/openconnect/tests/windows_packet_pipe.c" \
-L"$prefix/lib" -lopenconnect -lws2_32 -o "$build_dir/test-windows-packet-pipe.exe"