Add Windows build for interop crate (#126)

* Update rust interop test binaries to v1.25.1

* Add Windows build for interop crate
This commit is contained in:
James Nugent
2019-11-10 12:15:39 +01:00
committed by Lucio Franco
parent ed53be5779
commit b2c1d2e2b7
8 changed files with 9 additions and 5 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+6 -3
View File
@@ -3,16 +3,19 @@
set -eu
set -o pipefail
echo "Running for OS: ${OSTYPE}"
case "$OSTYPE" in
darwin*) OS="darwin" ;;
linux*) OS="linux" ;;
darwin*) OS="darwin"; EXT="" ;;
linux*) OS="linux"; EXT="" ;;
msys*) OS="windows"; EXT=".exe" ;;
*) exit 2 ;;
esac
cargo build -p tonic-interop --bins
ARG="${1:-""}"
SERVER="tonic-interop/bin/server_${OS}_amd64"
SERVER="tonic-interop/bin/server_${OS}_amd64${EXT}"
# TLS_CA="tonic-interop/data/ca.pem"
TLS_CRT="tonic-interop/data/server1.pem"