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 : wolfSM Tests
2+
3+ # START OF COMMON SECTION
4+ on :
5+ push :
6+ branches : [ 'master', 'main', 'release/**' ]
7+ pull_request :
8+ branches : [ '*' ]
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : true
13+ # END OF COMMON SECTION
14+
15+ jobs :
16+ make_check :
17+ strategy :
18+ fail-fast : false
19+ matrix :
20+ config : [
21+ # Core SM TLS cipher suites
22+ ' --enable-sm2 --enable-sm3 --enable-sm4-gcm --enable-sm4-ccm --enable-sha3' ,
23+ # All SM4 modes
24+ ' --enable-sm2 --enable-sm3 --enable-sm4-ecb --enable-sm4-cbc --enable-sm4-ctr --enable-sm4-gcm --enable-sm4-ccm --enable-sha3' ,
25+ # SM + all features integration test
26+ ' --enable-all --enable-sm2 --enable-sm3 --enable-sm4-ecb --enable-sm4-cbc --enable-sm4-ctr --enable-sm4-gcm --enable-sm4-ccm' ,
27+ ]
28+ name : make check
29+ if : github.repository_owner == 'wolfssl'
30+ runs-on : ubuntu-24.04
31+ timeout-minutes : 10
32+ steps :
33+ - uses : actions/checkout@v4
34+ name : Checkout wolfSSL
35+
36+ - uses : actions/checkout@v4
37+ name : Checkout wolfsm
38+ with :
39+ repository : wolfssl/wolfsm
40+ path : wolfsm
41+
42+ - name : Install wolfsm
43+ working-directory : wolfsm
44+ run : ./install.sh $GITHUB_WORKSPACE
45+
46+ - name : Test wolfSSL with wolfSM
47+ run : |
48+ ./autogen.sh
49+ ./configure ${{ matrix.config }}
50+ make
51+ make check
52+
53+ - name : Print errors
54+ if : ${{ failure() }}
55+ run : |
56+ for file in scripts/*.log
57+ do
58+ if [ -f "$file" ]; then
59+ echo "${file}:"
60+ cat "$file"
61+ echo "========================================================================"
62+ fi
63+ done
You can’t perform that action at this time.
0 commit comments