File tree Expand file tree Collapse file tree 4 files changed +32
-26
lines changed
Expand file tree Collapse file tree 4 files changed +32
-26
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,15 @@ jobs:
5959 ref : ${{ matrix.tpm2_tss_ref }}
6060 fetch-depth : 1
6161
62- # Apply patch to fix missing stdint.h includes in test files
63- # TODO: use patch from OSP repo
64- - name : Apply patch for test source files
65- working-directory : tpm2_tss_repo
66- if : ${{ matrix.tpm2_tss_ref }} == '4.1.3'
67- run : |
68- perl -pi -e 's|(#include <cmocka\.h>)|#include <stdint.h>\n$1|' ./test/unit/*.c
62+ - name : Checkout OSP
63+ uses : actions/checkout@v4
64+ with :
65+ repository : wolfssl/osp
66+ path : osp
67+ fetch-depth : 1
68+ - run : |
69+ cd tpm2_tss_repo
70+ patch -p1 < $GITHUB_WORKSPACE/osp/wolfProvider/libtss2/libtss2-${{ matrix.tpm2_tss_ref }}-wolfprov.patch
6971
7072 - name : Build and install tpm2-tss
7173 working-directory : tpm2_tss_repo
Original file line number Diff line number Diff line change @@ -97,16 +97,15 @@ jobs:
9797 ref : ${{ matrix.ppp_ref }}
9898 fetch-depth : 1
9999
100- # TODO: use patch from OSP repo
101- - name : Apply PPP compatibility fixes for OpenSSL 3.x
102- working-directory : ppp_repo
103- run : |
104- # Disable testing of legacy algorithms
105- for fn in PPP_crypto_init PPP_crypto_deinit test_md4 test_des_encrypt test_des_decrypt; do
106- perl -0777 -pi -e '
107- s/\bint\s+'$fn'\s*\([^)]*\)/int '$fn'() { return 1; }\nint __attribute__((unused)) __replaced_'$fn'()/g
108- ' pppd/crypto.c
109- done
100+ - name : Checkout OSP
101+ uses : actions/checkout@v4
102+ with :
103+ repository : wolfssl/osp
104+ path : osp
105+ fetch-depth : 1
106+ - run : |
107+ cd ppp_repo
108+ patch -p1 < $GITHUB_WORKSPACE/osp/wolfProvider/ppp/ppp-${{ matrix.ppp_ref }}-wolfprov.patch
110109
111110 - name : Build and install PPP
112111 working-directory : ppp_repo
Original file line number Diff line number Diff line change @@ -104,6 +104,10 @@ jobs:
104104 ref : ${{ matrix.qt_ref }}
105105 fetch-depth : 1
106106
107+ - run : |
108+ cd qt5_repo
109+ patch -p1 < $GITHUB_WORKSPACE/osp/wolfProvider/qtbase/qtbase-${{ matrix.qt_ref }}-wolfprov.patch
110+
107111 - name : Configure Qt
108112 working-directory : qt5_repo
109113 run : |
@@ -117,9 +121,6 @@ jobs:
117121 if : matrix.qt_ref != 'dev'
118122 working-directory : qt5_repo
119123 run : |
120- # Force C++14 to avoid C++17 compatibility issues
121- echo 'QMAKE_CXXFLAGS += -std=c++14' >> mkspecs/linux-g++/qmake.conf
122-
123124 make -k -j$(nproc)
124125
125126 - name : Add test server to hosts
Original file line number Diff line number Diff line change @@ -110,15 +110,19 @@ jobs:
110110 ref : ${{ matrix.x11vnc_ref }}
111111 path : x11vnc
112112
113+ - name : Checkout OSP
114+ uses : actions/checkout@v4
115+ with :
116+ repository : wolfssl/osp
117+ path : osp
118+ fetch-depth : 1
119+ - run : |
120+ cd x11vnc
121+ patch -p1 < $GITHUB_WORKSPACE/osp/wolfProvider/x11vnc/x11vnc-${{ matrix.x11vnc_ref }}-wolfprov.patch
122+
113123 - name : Build x11vnc
114124 working-directory : x11vnc
115125 run : |
116- # change certs from being hashed with MD5 to SHA256
117- perl -pi -e 's/default_md\s*=\s*md5/default_md = SHA256/' src/ssltools.h
118-
119- # change encryption for cert keys from des3 to aes256
120- perl -pi -e 's/-des3/-aes256/' src/ssltools.h
121-
122126 autoreconf -vfi
123127 ./configure
124128 make -j $(nproc)
You can’t perform that action at this time.
0 commit comments