File tree Expand file tree Collapse file tree 1 file changed +51
-0
lines changed
Expand file tree Collapse file tree 1 file changed +51
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CryptoCB Only 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+ # tests skipping tests in CI
22+ ' --enable-cryptocb CFLAGS="-DNO_SESSION_CACHE -DWOLF_CRYPTO_CB_ONLY_RSA"' ,
23+ ' --enable-cryptocb CFLAGS="-DNO_SESSION_CACHE -DWOLF_CRYPTO_CB_ONLY_ECC"' ,
24+ ' --enable-cryptocb CFLAGS="-DNO_SESSION_CACHE -DWOLF_CRYPTO_CB_ONLY_ECC -DWOLF_CRYPTO_CB_ONLY_RSA"' ,
25+ # tests using external crypto device provider
26+ ' --enable-cryptocb --enable-cryptocb-test-provider --disable-cryptocb-sw-test CFLAGS="-DNO_SESSION_CACHE -DWOLF_CRYPTO_CB_ONLY_ECC"' ,
27+ ' --enable-cryptocb --enable-cryptocb-test-provider --disable-cryptocb-sw-test CFLAGS="-DNO_SESSION_CACHE -DWOLF_CRYPTO_CB_ONLY_RSA"' ,
28+ ' --enable-cryptocb --enable-cryptocb-test-provider --disable-cryptocb-sw-test CFLAGS="-DNO_SESSION_CACHE -DWOLF_CRYPTO_CB_ONLY_ECC -DWOLF_CRYPTO_CB_ONLY_RSA"' ,
29+ ]
30+ name : make check
31+ if : github.repository_owner == 'wolfssl'
32+ runs-on : ubuntu-22.04
33+ # This should be a safe limit for the tests to run.
34+ timeout-minutes : 10
35+ steps :
36+ - uses : actions/checkout@v4
37+ name : Checkout wolfSSL
38+
39+ - name : Test wolfSSL CryptoCB Only
40+ run : |
41+ ./autogen.sh
42+ ./configure ${{ matrix.config }}
43+ make -j 4
44+ make check
45+
46+ - name : Print errors
47+ if : ${{ failure() }}
48+ run : |
49+ if [ -f test-suite.log ] ; then
50+ cat test-suite.log
51+ fi
You can’t perform that action at this time.
0 commit comments