File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,20 +67,32 @@ jobs:
6767 ref : libssh2-${{ matrix.ref }}
6868 path : libssh2
6969
70+ - name : Update libssh2 test to use a stable version of debian
71+ working-directory : libssh2
72+ run : |
73+ sed -i 's/testing-slim/oldstable-slim/' tests/openssh_server/Dockerfile
74+
75+ - name : Fix Docker port binding for Docker 29
76+ working-directory : libssh2
77+ run : |
78+ sed -i 's/docker run --rm -d -p 22/docker run --rm -d -p 127.0.0.1::22/' tests/openssh_fixture.c
79+
7080 - name : Build libssh2
7181 working-directory : libssh2
7282 run : |
7383 autoreconf -fi
7484 ./configure --with-crypto=wolfssl --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
7585
76- - name : Update libssh2 test to use a stable version of debian
77- working-directory : libssh2
86+ - name : Diagnostics
7887 run : |
79- sed -i 's/testing-slim/oldstable-slim/' tests/openssh_server/Dockerfile
88+ docker --version
89+ id=$(docker run --rm -d -p 127.0.0.1::22 debian:oldstable-slim sleep 10)
90+ docker inspect --format '{{ json .NetworkSettings.Ports }}' "$id"
91+ docker stop "$id"
8092
8193 - name : Run libssh2 tests
8294 working-directory : libssh2
83- run : make -j check
95+ run : make check
8496
8597 - name : Confirm libssh2 built with wolfSSL
8698 run : ldd libssh2/src/.libs/libssh2.so | grep wolfssl
You can’t perform that action at this time.
0 commit comments