Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/libssh2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,21 @@ jobs:
ref: libssh2-${{ matrix.ref }}
path: libssh2

- name: Update libssh2 test to use a stable version of debian
working-directory: libssh2
run: |
sed -i 's/testing-slim/oldstable-slim/' tests/openssh_server/Dockerfile

- name: Build libssh2
working-directory: libssh2
run: |
autoreconf -fi
./configure --with-crypto=wolfssl --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
make -j

- name: Update libssh2 test to use a stable version of debian
- name: Pre-build Docker image to avoid concurrent docker build race
working-directory: libssh2
run: |
sed -i 's/testing-slim/oldstable-slim/' tests/openssh_server/Dockerfile
run: docker build -t libssh2/openssh_server tests/openssh_server

- name: Run libssh2 tests
working-directory: libssh2
Expand All @@ -85,6 +90,6 @@ jobs:
- name: Confirm libssh2 built with wolfSSL
run: ldd libssh2/src/.libs/libssh2.so | grep wolfssl

- name: print server logs
- name: print test logs
if: ${{ failure() }}
run: tail -n +1 libssh2/tests/*.log