
Patch for https://github.com/containernetworking/plugins/pull/85
+ Windows cni plugins are added
(*) win-bridge (hostgw)
(*) win-overlay (vxlan)
+ Windows netconf unit test
+ Fix appveyor config to run the test
+ Build release support for windows plugins
Address comments
From:
- https://github.com/containernetworking/plugins/pull/85
- 0049c64e3f
14 lines
308 B
Bash
Executable File
14 lines
308 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
PLUGINS=$(cat plugins/windows_only.txt)
|
|
for d in $PLUGINS; do
|
|
if [ -d "$d" ]; then
|
|
plugin="$(basename "$d").exe"
|
|
|
|
echo " $plugin"
|
|
CXX=x86_64-w64-mingw32-g++ CC=x86_64-w64-mingw32-gcc CGO_ENABLED=1 \
|
|
$GO build -o "${PWD}/bin/$plugin" "$@" "$REPO_PATH"/$d
|
|
fi
|
|
done
|