File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : libssh2 Tests
2+
3+ on :
4+ workflow_call :
5+
6+ jobs :
7+ build_wolfssl :
8+ name : Build wolfSSL
9+ # Just to keep it the same as the testing target
10+ runs-on : ubuntu-latest
11+ # This should be a safe limit for the tests to run.
12+ timeout-minutes : 4
13+ steps :
14+ - name : Build wolfSSL
15+ uses : wolfSSL/actions-build-autotools-project@v1
16+ with :
17+ path : wolfssl
18+ configure : --enable-all
19+ check : false # config is already tested in many other PRB's
20+ install : true
21+
22+ - name : Upload built lib
23+ uses : actions/upload-artifact@v3
24+ with :
25+ name : wolf-install-libssh2
26+ path : build-dir
27+ retention-days : 1
28+
29+ libssh2_check :
30+ strategy :
31+ fail-fast : false
32+ matrix :
33+ # List of releases to test
34+ ref : [ 1.11.0 ]
35+ name : ${{ matrix.ref }}
36+ runs-on : ubuntu-latest
37+ # This should be a safe limit for the tests to run.
38+ timeout-minutes : 8
39+ needs : build_wolfssl
40+ steps :
41+ - name : Download lib
42+ uses : actions/download-artifact@v3
43+ with :
44+ name : wolf-install-libssh2
45+ path : build-dir
46+
47+ - name : Build and test libssh2
48+ uses : wolfSSL/actions-build-autotools-project@v1
49+ with :
50+ repository : libssh2/libssh2
51+ ref : libssh2-${{ matrix.ref }}
52+ path : libssh2
53+ configure : --with-crypto=wolfssl --with-libwolfssl-prefix=$GITHUB_WORKSPACE/build-dir
54+ check : true
55+
56+ - name : Confirm libssh2 built with wolfSSL
57+ working-directory : ./libssh2
58+ run : ldd src/.libs/libssh2.so | grep wolfssl
Original file line number Diff line number Diff line change 4242 uses : ./.github/workflows/packaging.yml
4343 memcached :
4444 uses : ./.github/workflows/memcached.yml
45+ libssh2 :
46+ uses : ./.github/workflows/libssh2.yml
4547# TODO: Currently this test fails. Enable it once it becomes passing.
4648# haproxy:
4749# uses: ./.github/workflows/haproxy.yml
You can’t perform that action at this time.
0 commit comments