File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -67,16 +67,21 @@ 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+
7075 - name : Build libssh2
7176 working-directory : libssh2
7277 run : |
7378 autoreconf -fi
7479 ./configure --with-crypto=wolfssl --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
80+ make -j
7581
76- - name : Update libssh2 test to use a stable version of debian
82+ - name : Pre-build Docker image to avoid concurrent docker build race
7783 working-directory : libssh2
78- run : |
79- sed -i 's/testing-slim/oldstable-slim/' tests/openssh_server/Dockerfile
84+ run : docker build -t libssh2/openssh_server tests/openssh_server
8085
8186 - name : Run libssh2 tests
8287 working-directory : libssh2
8590 - name : Confirm libssh2 built with wolfSSL
8691 run : ldd libssh2/src/.libs/libssh2.so | grep wolfssl
8792
88- - name : print server logs
93+ - name : print test logs
8994 if : ${{ failure() }}
9095 run : tail -n +1 libssh2/tests/*.log
You can’t perform that action at this time.
0 commit comments