File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -67,24 +67,30 @@ jobs:
6767 ref : libssh2-${{ matrix.ref }}
6868 path : libssh2
6969
70- - name : Build libssh2
70+ - name : Update libssh2 test to use a stable version of debian
7171 working-directory : libssh2
7272 run : |
73- autoreconf -fi
74- ./configure --with-crypto=wolfssl --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
73+ sed -i 's/testing-slim/oldstable-slim/' tests/openssh_server/Dockerfile
7574
76- - name : Update libssh2 test to use a stable version of debian
75+ - name : Fix Docker port binding for Docker 29
7776 working-directory : libssh2
7877 run : |
79- sed -i 's/testing-slim/oldstable-slim/' tests/openssh_server/Dockerfile
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+
80+ - name : Build libssh2
81+ working-directory : libssh2
82+ run : |
83+ autoreconf -fi
84+ ./configure --with-crypto=wolfssl --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
85+ make -j
8086
8187 - name : Run libssh2 tests
8288 working-directory : libssh2
83- run : make -j check
89+ run : make check
8490
8591 - name : Confirm libssh2 built with wolfSSL
8692 run : ldd libssh2/src/.libs/libssh2.so | grep wolfssl
8793
88- - name : print server logs
94+ - name : print test logs
8995 if : ${{ failure() }}
9096 run : tail -n +1 libssh2/tests/*.log
You can’t perform that action at this time.
0 commit comments