mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-30 17:25:09 +02:00
Interop test against PuTTY snapshot and releases.
This commit is contained in:
parent
91898bf786
commit
cbbdf868bc
5
.github/configs
vendored
5
.github/configs
vendored
@ -164,6 +164,11 @@ case "$config" in
|
|||||||
libressl-*)
|
libressl-*)
|
||||||
LIBCRYPTOFLAGS="--with-ssl-dir=/opt/libressl --with-rpath=-Wl,-rpath,"
|
LIBCRYPTOFLAGS="--with-ssl-dir=/opt/libressl --with-rpath=-Wl,-rpath,"
|
||||||
;;
|
;;
|
||||||
|
putty-*)
|
||||||
|
CONFIGFLAGS="--with-plink=/usr/local/bin/plink --with-puttygen=/usr/local/bin/puttygen"
|
||||||
|
# We don't need to rerun the regular tests, just the interop ones.
|
||||||
|
TEST_TARGET=interop-tests
|
||||||
|
;;
|
||||||
openssl-*)
|
openssl-*)
|
||||||
LIBCRYPTOFLAGS="--with-ssl-dir=/opt/openssl --with-rpath=-Wl,-rpath,"
|
LIBCRYPTOFLAGS="--with-ssl-dir=/opt/openssl --with-rpath=-Wl,-rpath,"
|
||||||
# OpenSSL 1.1.1 specifically has a bug in its RNG that breaks reexec
|
# OpenSSL 1.1.1 specifically has a bug in its RNG that breaks reexec
|
||||||
|
26
.github/setup_ci.sh
vendored
26
.github/setup_ci.sh
vendored
@ -142,6 +142,10 @@ for TARGET in $TARGETS; do
|
|||||||
INSTALL_BORINGSSL=1
|
INSTALL_BORINGSSL=1
|
||||||
PACKAGES="${PACKAGES} cmake ninja-build"
|
PACKAGES="${PACKAGES} cmake ninja-build"
|
||||||
;;
|
;;
|
||||||
|
putty-*)
|
||||||
|
INSTALL_PUTTY=$(echo "${TARGET}" | cut -f2 -d-)
|
||||||
|
PACKAGES="${PACKAGES} cmake"
|
||||||
|
;;
|
||||||
valgrind*)
|
valgrind*)
|
||||||
PACKAGES="$PACKAGES valgrind"
|
PACKAGES="$PACKAGES valgrind"
|
||||||
;;
|
;;
|
||||||
@ -241,3 +245,25 @@ if [ ! -z "${INSTALL_ZLIB}" ]; then
|
|||||||
cd ${HOME}/zlib && ./configure && make &&
|
cd ${HOME}/zlib && ./configure && make &&
|
||||||
sudo make install prefix=/opt/zlib)
|
sudo make install prefix=/opt/zlib)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -z "${INSTALL_PUTTY}" ]; then
|
||||||
|
ver="${INSTALL_PUTTY}"
|
||||||
|
case "${INSTALL_PUTTY}" in
|
||||||
|
snapshot)
|
||||||
|
tarball=putty.tar.gz
|
||||||
|
(cd /tmp && wget https://tartarus.org/~simon/putty-snapshots/${tarball})
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
tarball=putty-${ver}.tar.gz
|
||||||
|
(cd /tmp && wget https://the.earth.li/~sgtatham/putty/${ver}/${tarball})
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
(cd ${HOME} && tar xfz /tmp/${tarball} && cd putty-*
|
||||||
|
if [ -f CMakeLists.txt ]; then
|
||||||
|
cmake . && cmake --build . && sudo cmake --build . --target install
|
||||||
|
else
|
||||||
|
./configure && make && sudo make install
|
||||||
|
fi
|
||||||
|
)
|
||||||
|
/usr/local/bin/plink -V
|
||||||
|
fi
|
||||||
|
11
.github/workflows/c-cpp.yml
vendored
11
.github/workflows/c-cpp.yml
vendored
@ -76,6 +76,17 @@ jobs:
|
|||||||
- { target: ubuntu-latest, config: openssl-1.1.1_stable }
|
- { target: ubuntu-latest, config: openssl-1.1.1_stable }
|
||||||
- { target: ubuntu-latest, config: openssl-3.0 } # stable branch
|
- { target: ubuntu-latest, config: openssl-3.0 } # stable branch
|
||||||
- { target: ubuntu-latest, config: openssl-3.2 } # stable branch
|
- { target: ubuntu-latest, config: openssl-3.2 } # stable branch
|
||||||
|
- { target: ubuntu-latest, config: putty-0.71 }
|
||||||
|
- { target: ubuntu-latest, config: putty-0.72 }
|
||||||
|
- { target: ubuntu-latest, config: putty-0.73 }
|
||||||
|
- { target: ubuntu-latest, config: putty-0.74 }
|
||||||
|
- { target: ubuntu-latest, config: putty-0.75 }
|
||||||
|
- { target: ubuntu-latest, config: putty-0.76 }
|
||||||
|
- { target: ubuntu-latest, config: putty-0.77 }
|
||||||
|
- { target: ubuntu-latest, config: putty-0.78 }
|
||||||
|
- { target: ubuntu-latest, config: putty-0.79 }
|
||||||
|
- { target: ubuntu-latest, config: putty-0.80 }
|
||||||
|
- { target: ubuntu-latest, config: putty-snapshot }
|
||||||
- { target: ubuntu-latest, config: zlib-develop }
|
- { target: ubuntu-latest, config: zlib-develop }
|
||||||
- { target: ubuntu-22.04, config: pam }
|
- { target: ubuntu-22.04, config: pam }
|
||||||
- { target: ubuntu-22.04, config: krb5 }
|
- { target: ubuntu-22.04, config: krb5 }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user