File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name: socat Tests
33# START OF COMMON SECTION
44on :
55 push :
6- branches : [ 'master' ]
6+ branches : [ 'master', 'main', 'release/**' ]
77 pull_request :
88 branches : [ '*' ]
99
@@ -13,23 +13,41 @@ concurrency:
1313# END OF COMMON SECTION
1414
1515jobs :
16+ build_wolfssl :
17+ runs-on : ubuntu-latest
18+ timeout-minutes : 4
19+ - name : Build wolfSSL
20+ uses : wolfSSL/actions-build-autotools-project@v1
21+ with :
22+ path : wolfssl
23+ configure : --enable-maxfragment --enable-opensslall --enable-opensslextra --enable-dtls --enable-oldtls --enable-tlsv10 --enable-ipv6 'CPPFLAGS=-DWOLFSSL_NO_DTLS_SIZE_CHECK -DOPENSSL_COMPATIBLE_DEFAULTS'
24+ install : true
25+
26+ - name : Upload built lib
27+ uses : actions/upload-artifact@v4
28+ with :
29+ name : wolf-install-socat
30+ path : build-dir
31+ retention-days : 3
32+
33+
1634 socat_check :
1735 strategy :
1836 fail-fast : false
1937 runs-on : ubuntu-latest
2038 # This should be a safe limit for the tests to run.
2139 timeout-minutes : 30
40+ needs : build_wolfssl
2241 steps :
2342 - name : Install prereqs
2443 run :
2544 sudo apt-get install build-essential autoconf libtool pkg-config clang libc++-dev
2645
27- - name : Build wolfSSL
28- uses : wolfSSL/ actions-build-autotools-project@v1
46+ - name : Download lib
47+ uses : actions/download-artifact@v4
2948 with :
30- path : wolfssl
31- configure : --enable-maxfragment --enable-opensslall --enable-opensslextra --enable-dtls --enable-oldtls --enable-tlsv10 --enable-ipv6 'CPPFLAGS=-DWOLFSSL_NO_DTLS_SIZE_CHECK -DOPENSSL_COMPATIBLE_DEFAULTS'
32- install : true
49+ name : wolf-install-socat
50+ path : build-dir
3351
3452 - name : Download socat
3553 run : curl -O http://www.dest-unreach.org/socat/download/socat-1.8.0.0.tar.gz && tar xvf socat-1.8.0.0.tar.gz
4563 run : |
4664 patch -p1 < ../osp/socat/1.8.0.0/socat-1.8.0.0.patch
4765 autoreconf -vfi
48- ./configure --with-wolfssl=/usr/local
66+ ./configure --with-wolfssl=$GITHUB_WORKSPACE/build-dir
4967 make
5068
5169 - name : Run socat tests
You can’t perform that action at this time.
0 commit comments