File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 ]
1616 name : make check
1717 runs-on : ubuntu-latest
18+ # This should be a safe limit for the tests to run.
19+ timeout-minutes : 6
1820 steps :
1921 - uses : actions/checkout@v3
2022 name : Checkout wolfSSL
Original file line number Diff line number Diff line change 55
66jobs :
77 build :
8-
98 runs-on : ubuntu-latest
10-
9+ # This should be a safe limit for the tests to run.
10+ timeout-minutes : 14
1111 steps :
12- - uses : actions/checkout@master
13- - name : autogen
14- run : ./autogen.sh
15- - name : configure
16- run : ./configure --enable-all
17- - name : make
18- run : make
19- - name : install
20- run : sudo make install
21- - uses : actions/checkout@master
12+ - name : Install test dependencies
13+ run : |
14+ sudo apt-get update
15+ sudo apt-get install nghttp2
16+
17+ - name : Build wolfSSL
18+ uses : wolfSSL/actions-build-autotools-project@v1
19+ with :
20+ path : wolfssl
21+ configure : --enable-curl
22+ install : true
23+
24+ - name : Build and test stunnel
25+ uses : wolfSSL/actions-build-autotools-project@v1
2226 with :
2327 repository : curl/curl
2428 path : curl
25- - name : Install test dependency
26- working-directory : ./curl
27- run : sudo apt-get install nghttp2
28- - name : curl buildconf
29- working-directory : ./curl
30- run : ./buildconf
31- - name : curl configure
32- working-directory : ./curl
33- run : ./configure --with-wolfssl
34- - name : curl make
35- working-directory : ./curl
36- run : make
37- - name : curl unit tests
38- working-directory : ./curl
39- run : make test
40-
29+ configure : --with-wolfssl=$GITHUB_WORKSPACE/build-dir
30+ check : true
Original file line number Diff line number Diff line change 66 espressif_latest :
77 name : latest Docker container
88 runs-on : ubuntu-latest
9+ # This should be a safe limit for the tests to run.
10+ timeout-minutes : 12
911 container :
1012 image : espressif/idf:latest
1113 steps :
Original file line number Diff line number Diff line change 99 build_library :
1010 name : Compile libwolfssl.so
1111 runs-on : ubuntu-latest
12+ # This should be a safe limit for the tests to run.
13+ timeout-minutes : 4
1214 container :
1315 image : alpine:latest
1416 steps :
2628 compile_container :
2729 name : Compile container
2830 runs-on : ubuntu-latest
31+ # This should be a safe limit for the tests to run.
32+ timeout-minutes : 2
2933 needs : build_library
3034 strategy :
3135 fail-fast : false
Original file line number Diff line number Diff line change 88 name : Build wolfSSL
99 # Just to keep it the same as the testing target
1010 runs-on : ubuntu-latest
11+ # This should be a safe limit for the tests to run.
12+ timeout-minutes : 4
1113 steps :
1214 - name : Build wolfSSL
1315 uses : wolfSSL/actions-build-autotools-project@v1
3436 test13-r82.sh test15-proxy-v2-npn.sh test39-client-cert-proxy.sh
3537 name : ${{ matrix.ref }}
3638 runs-on : ubuntu-latest
39+ # This should be a safe limit for the tests to run.
40+ timeout-minutes : 4
3741 needs : build_wolfssl
3842 steps :
3943 - name : Download lib
Original file line number Diff line number Diff line change 1515 name : Build wolfSSL
1616 # Just to keep it the same as the testing target
1717 runs-on : ubuntu-20.04
18+ # This should be a safe limit for the tests to run.
19+ timeout-minutes : 4
1820 steps :
1921 # No way to view the full strategy in the browser (really weird)
2022 - name : Print strategy
9092 name : hwsim test
9193 # For openssl 1.1
9294 runs-on : ubuntu-20.04
95+ # This should be a safe limit for the tests to run.
96+ timeout-minutes : 12
9397 needs : build_wolfssl
9498 steps :
9599 # No way to view the full strategy in the browser (really weird)
Original file line number Diff line number Diff line change 2525 - CC : clang-14
2626 CXX : clang++-14
2727 runs-on : ubuntu-latest
28+ # This should be a safe limit for the tests to run.
29+ timeout-minutes : 2
2830 steps :
2931 - uses : actions/checkout@v3
3032 - name : Build
Original file line number Diff line number Diff line change 88 name : Build wolfSSL
99 # Just to keep it the same as the testing target
1010 runs-on : ubuntu-latest
11+ # This should be a safe limit for the tests to run.
12+ timeout-minutes : 4
1113 steps :
1214 - if : ${{ runner.debug }}
1315 name : Enable wolfSSL debug logging
6567 stream_proxy_ssl_verify.t stream_ssl_alpn.t
6668 name : ${{ matrix.ref }}
6769 runs-on : ubuntu-latest
70+ # This should be a safe limit for the tests to run.
71+ timeout-minutes : 6
6872 needs : build_wolfssl
6973 steps :
7074 - name : Download lib
Original file line number Diff line number Diff line change 88 name : Build wolfSSL
99 # Just to keep it the same as the testing target
1010 runs-on : ubuntu-latest
11+ # This should be a safe limit for the tests to run.
12+ timeout-minutes : 4
1113 steps :
1214 - name : Build wolfSSL
1315 uses : wolfSSL/actions-build-autotools-project@v1
3133 ref : [ master, release/2.6, v2.6.0 ]
3234 name : ${{ matrix.ref }}
3335 runs-on : ubuntu-latest
36+ # This should be a safe limit for the tests to run.
37+ timeout-minutes : 6
3438 needs : build_wolfssl
3539 steps :
3640 - name : Download lib
Original file line number Diff line number Diff line change 2222 ]
2323 name : make check
2424 runs-on : ${{ matrix.os }}
25+ # This should be a safe limit for the tests to run.
26+ timeout-minutes : 8
2527 steps :
2628 - name : Build and test wolfSSL
2729 uses : wolfSSL/actions-build-autotools-project@v1
4042 ]
4143 name : make user_setting.h
4244 runs-on : ${{ matrix.os }}
45+ # This should be a safe limit for the tests to run.
46+ timeout-minutes : 6
4347 steps :
4448 - name : Build and test wolfSSL
4549 uses : wolfSSL/actions-build-autotools-project@v1
6165 ]
6266 name : make user_setting.h (testwolfcrypt only)
6367 runs-on : ${{ matrix.os }}
68+ # This should be a safe limit for the tests to run.
69+ timeout-minutes : 4
6470 steps :
6571 - name : Build and test wolfSSL
6672 uses : wolfSSL/actions-build-autotools-project@v1
8086 os : [ ubuntu-latest, macos-latest ]
8187 name : make user_setting.h (with sed)
8288 runs-on : ${{ matrix.os }}
89+ # This should be a safe limit for the tests to run.
90+ timeout-minutes : 8
8391 steps :
8492 - uses : actions/checkout@v3
8593 - if : ${{ matrix.os == 'macos-latest' }}
96104 windows_build :
97105 name : Windows Build Test
98106 runs-on : windows-latest
107+ # This should be a safe limit for the tests to run.
108+ timeout-minutes : 6
99109 env :
100110 # Path to the solution file relative to the root of the project.
101111 SOLUTION_FILE_PATH : wolfssl64.sln
You can’t perform that action at this time.
0 commit comments