2323 uses : wolfSSL/actions-build-autotools-project@v1
2424 with :
2525 path : wolfssl
26- configure : --enable-maxfragment --enable-opensslall --enable-opensslextra --enable-dtls --enable-oldtls --enable-tlsv10 --enable-ipv6 'CPPFLAGS=-DWOLFSSL_NO_DTLS_SIZE_CHECK -DOPENSSL_COMPATIBLE_DEFAULTS'
26+ configure : --enable-all --enable-oldtls --enable-tlsv10 --enable-ipv6 'CPPFLAGS=-DWOLFSSL_NO_DTLS_SIZE_CHECK -DOPENSSL_COMPATIBLE_DEFAULTS'
2727 install : true
2828
2929 - name : tar build-dir
4343 # This should be a safe limit for the tests to run.
4444 timeout-minutes : 30
4545 needs : build_wolfssl
46+ strategy :
47+ fail-fast : false
48+ matrix :
49+ include :
50+ - socat_version : " 1.8.0.0"
51+ expect_fail : " 36,64,146,216,309,310,386,399,402,403,459,460,467,468,475,478,491,492,528"
52+ - socat_version : " 1.8.0.3"
53+ expect_fail : " 146,386,399,402,459,460,467,468,475,478,491,492,495,528"
4654 steps :
4755 - name : Install prereqs
4856 run :
5765 run : tar -xf build-dir.tgz
5866
5967 - name : Download socat
60- 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
68+ run : curl -O http://www.dest-unreach.org/socat/download/socat-${{ matrix.socat_version }}. tar.gz && tar xvf socat-${{ matrix.socat_version }} .tar.gz
6169
6270 - name : Checkout OSP
6371 uses : actions/checkout@v4
@@ -66,16 +74,16 @@ jobs:
6674 path : osp
6775
6876 - name : Build socat
69- working-directory : ./socat-1.8.0.0
77+ working-directory : ./socat-${{ matrix.socat_version }}
7078 run : |
71- patch -p1 < ../osp/socat/1.8.0.0 /socat-1.8.0.0 .patch
79+ patch -p1 < ../osp/socat/${{ matrix.socat_version }} /socat-${{ matrix.socat_version }} .patch
7280 autoreconf -vfi
7381 ./configure --with-wolfssl=$GITHUB_WORKSPACE/build-dir --enable-default-ipv=4
7482 make
7583
7684 - name : Run socat tests
77- working-directory : ./socat-1.8.0.0
85+ working-directory : ./socat-${{ matrix.socat_version }}
7886 run : |
7987 export LD_LIBRARY_PATH=$GITHUB_WORKSPACE/build-dir/lib:$LD_LIBRARY_PATH
8088 export SHELL=/bin/bash
81- SOCAT=$GITHUB_WORKSPACE/socat-1.8.0.0 /socat ./test.sh -t 0.5 --expect-fail 36,64,146,214,216,217,309,310,386,399,402,403,459,460,467,468,475,478,492,528,530
89+ SOCAT=$GITHUB_WORKSPACE/socat-${{ matrix.socat_version }} /socat ./test.sh -t 0.5 --expect-fail ${{ matrix.expect_fail }}
0 commit comments