Skip to content

Commit 521f554

Browse files
committed
Experimental: fix libssh2 workflow with Docker 29
1 parent 49ed1fa commit 521f554

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/libssh2.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,21 @@ 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
8085
8186
- name: Run libssh2 tests
8287
working-directory: libssh2

0 commit comments

Comments
 (0)