mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
feat: build and publish Windows NSH packages with verified updates
This commit is contained in:
105 files changed
+6606
-798
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env bash
|
||||
# Run the native packet-pipe regression against the bundled Windows DLL.
|
||||
set -euo pipefail
|
||||
export PATH="/mingw64/bin:/usr/bin:$PATH"
|
||||
repo=$(cygpath -u "$1")
|
||||
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" \
|
||||
$(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"
|
||||
"$build_dir/test-windows-packet-pipe.exe"
|
||||
Reference in new issue
Block a user