mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
Add timeouts to action tests
This commit is contained in:
2
.github/workflows/async.yml
vendored
2
.github/workflows/async.yml
vendored
@@ -14,6 +14,8 @@ jobs:
|
|||||||
]
|
]
|
||||||
name: make check
|
name: make check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 6
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
name: Checkout wolfSSL
|
name: Checkout wolfSSL
|
||||||
|
2
.github/workflows/docker-Espressif.yml
vendored
2
.github/workflows/docker-Espressif.yml
vendored
@@ -6,6 +6,8 @@ jobs:
|
|||||||
espressif_latest:
|
espressif_latest:
|
||||||
name: latest Docker container
|
name: latest Docker container
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 12
|
||||||
container:
|
container:
|
||||||
image: espressif/idf:latest
|
image: espressif/idf:latest
|
||||||
steps:
|
steps:
|
||||||
|
4
.github/workflows/docker-OpenWrt.yml
vendored
4
.github/workflows/docker-OpenWrt.yml
vendored
@@ -9,6 +9,8 @@ jobs:
|
|||||||
build_library:
|
build_library:
|
||||||
name: Compile libwolfssl.so
|
name: Compile libwolfssl.so
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 4
|
||||||
container:
|
container:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
steps:
|
steps:
|
||||||
@@ -26,6 +28,8 @@ jobs:
|
|||||||
compile_container:
|
compile_container:
|
||||||
name: Compile container
|
name: Compile container
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 2
|
||||||
needs: build_library
|
needs: build_library
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
4
.github/workflows/hitch.yml
vendored
4
.github/workflows/hitch.yml
vendored
@@ -8,6 +8,8 @@ jobs:
|
|||||||
name: Build wolfSSL
|
name: Build wolfSSL
|
||||||
# Just to keep it the same as the testing target
|
# Just to keep it the same as the testing target
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 4
|
||||||
steps:
|
steps:
|
||||||
- name: Build wolfSSL
|
- name: Build wolfSSL
|
||||||
uses: wolfSSL/actions-build-autotools-project@v1
|
uses: wolfSSL/actions-build-autotools-project@v1
|
||||||
@@ -34,6 +36,8 @@ jobs:
|
|||||||
test13-r82.sh test15-proxy-v2-npn.sh test39-client-cert-proxy.sh
|
test13-r82.sh test15-proxy-v2-npn.sh test39-client-cert-proxy.sh
|
||||||
name: ${{ matrix.ref }}
|
name: ${{ matrix.ref }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 4
|
||||||
needs: build_wolfssl
|
needs: build_wolfssl
|
||||||
steps:
|
steps:
|
||||||
- name: Download lib
|
- name: Download lib
|
||||||
|
4
.github/workflows/hostap.yml
vendored
4
.github/workflows/hostap.yml
vendored
@@ -15,6 +15,8 @@ jobs:
|
|||||||
name: Build wolfSSL
|
name: Build wolfSSL
|
||||||
# Just to keep it the same as the testing target
|
# Just to keep it the same as the testing target
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 4
|
||||||
steps:
|
steps:
|
||||||
# No way to view the full strategy in the browser (really weird)
|
# No way to view the full strategy in the browser (really weird)
|
||||||
- name: Print strategy
|
- name: Print strategy
|
||||||
@@ -90,6 +92,8 @@ jobs:
|
|||||||
name: hwsim test
|
name: hwsim test
|
||||||
# For openssl 1.1
|
# For openssl 1.1
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 12
|
||||||
needs: build_wolfssl
|
needs: build_wolfssl
|
||||||
steps:
|
steps:
|
||||||
# No way to view the full strategy in the browser (really weird)
|
# No way to view the full strategy in the browser (really weird)
|
||||||
|
2
.github/workflows/multi-compiler.yml
vendored
2
.github/workflows/multi-compiler.yml
vendored
@@ -25,6 +25,8 @@ jobs:
|
|||||||
- CC: clang-14
|
- CC: clang-14
|
||||||
CXX: clang++-14
|
CXX: clang++-14
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
|
4
.github/workflows/nginx.yml
vendored
4
.github/workflows/nginx.yml
vendored
@@ -9,6 +9,8 @@ jobs:
|
|||||||
name: Build wolfSSL
|
name: Build wolfSSL
|
||||||
# Just to keep it the same as the testing target
|
# Just to keep it the same as the testing target
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 4
|
||||||
steps:
|
steps:
|
||||||
- if: ${{ runner.debug }}
|
- if: ${{ runner.debug }}
|
||||||
name: Enable wolfSSL debug logging
|
name: Enable wolfSSL debug logging
|
||||||
@@ -66,6 +68,8 @@ jobs:
|
|||||||
stream_proxy_ssl_verify.t stream_ssl_alpn.t
|
stream_proxy_ssl_verify.t stream_ssl_alpn.t
|
||||||
name: ${{ matrix.ref }}
|
name: ${{ matrix.ref }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 6
|
||||||
needs: build_wolfssl
|
needs: build_wolfssl
|
||||||
steps:
|
steps:
|
||||||
- name: Download lib
|
- name: Download lib
|
||||||
|
4
.github/workflows/openvpn.yml
vendored
4
.github/workflows/openvpn.yml
vendored
@@ -8,6 +8,8 @@ jobs:
|
|||||||
name: Build wolfSSL
|
name: Build wolfSSL
|
||||||
# Just to keep it the same as the testing target
|
# Just to keep it the same as the testing target
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 4
|
||||||
steps:
|
steps:
|
||||||
- name: Build wolfSSL
|
- name: Build wolfSSL
|
||||||
uses: wolfSSL/actions-build-autotools-project@v1
|
uses: wolfSSL/actions-build-autotools-project@v1
|
||||||
@@ -31,6 +33,8 @@ jobs:
|
|||||||
ref: [ master, release/2.6, v2.6.0 ]
|
ref: [ master, release/2.6, v2.6.0 ]
|
||||||
name: ${{ matrix.ref }}
|
name: ${{ matrix.ref }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 6
|
||||||
needs: build_wolfssl
|
needs: build_wolfssl
|
||||||
steps:
|
steps:
|
||||||
- name: Download lib
|
- name: Download lib
|
||||||
|
10
.github/workflows/os-check.yml
vendored
10
.github/workflows/os-check.yml
vendored
@@ -22,6 +22,8 @@ jobs:
|
|||||||
]
|
]
|
||||||
name: make check
|
name: make check
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 8
|
||||||
steps:
|
steps:
|
||||||
- name: Build and test wolfSSL
|
- name: Build and test wolfSSL
|
||||||
uses: wolfSSL/actions-build-autotools-project@v1
|
uses: wolfSSL/actions-build-autotools-project@v1
|
||||||
@@ -40,6 +42,8 @@ jobs:
|
|||||||
]
|
]
|
||||||
name: make user_setting.h
|
name: make user_setting.h
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 6
|
||||||
steps:
|
steps:
|
||||||
- name: Build and test wolfSSL
|
- name: Build and test wolfSSL
|
||||||
uses: wolfSSL/actions-build-autotools-project@v1
|
uses: wolfSSL/actions-build-autotools-project@v1
|
||||||
@@ -61,6 +65,8 @@ jobs:
|
|||||||
]
|
]
|
||||||
name: make user_setting.h (testwolfcrypt only)
|
name: make user_setting.h (testwolfcrypt only)
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 4
|
||||||
steps:
|
steps:
|
||||||
- name: Build and test wolfSSL
|
- name: Build and test wolfSSL
|
||||||
uses: wolfSSL/actions-build-autotools-project@v1
|
uses: wolfSSL/actions-build-autotools-project@v1
|
||||||
@@ -80,6 +86,8 @@ jobs:
|
|||||||
os: [ ubuntu-latest, macos-latest ]
|
os: [ ubuntu-latest, macos-latest ]
|
||||||
name: make user_setting.h (with sed)
|
name: make user_setting.h (with sed)
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 8
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- if: ${{ matrix.os == 'macos-latest' }}
|
- if: ${{ matrix.os == 'macos-latest' }}
|
||||||
@@ -96,6 +104,8 @@ jobs:
|
|||||||
windows_build:
|
windows_build:
|
||||||
name: Windows Build Test
|
name: Windows Build Test
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 6
|
||||||
env:
|
env:
|
||||||
# Path to the solution file relative to the root of the project.
|
# Path to the solution file relative to the root of the project.
|
||||||
SOLUTION_FILE_PATH: wolfssl64.sln
|
SOLUTION_FILE_PATH: wolfssl64.sln
|
||||||
|
4
.github/workflows/stunnel.yml
vendored
4
.github/workflows/stunnel.yml
vendored
@@ -8,6 +8,8 @@ jobs:
|
|||||||
name: Build wolfSSL
|
name: Build wolfSSL
|
||||||
# Just to keep it the same as the testing target
|
# Just to keep it the same as the testing target
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 4
|
||||||
steps:
|
steps:
|
||||||
- name: Build wolfSSL
|
- name: Build wolfSSL
|
||||||
uses: wolfSSL/actions-build-autotools-project@v1
|
uses: wolfSSL/actions-build-autotools-project@v1
|
||||||
@@ -31,6 +33,8 @@ jobs:
|
|||||||
ref: [ 5.67 ]
|
ref: [ 5.67 ]
|
||||||
name: ${{ matrix.ref }}
|
name: ${{ matrix.ref }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 4
|
||||||
needs: build_wolfssl
|
needs: build_wolfssl
|
||||||
steps:
|
steps:
|
||||||
- name: Download lib
|
- name: Download lib
|
||||||
|
3
.github/workflows/zephyr.yml
vendored
3
.github/workflows/zephyr.yml
vendored
@@ -7,7 +7,8 @@ jobs:
|
|||||||
run_test:
|
run_test:
|
||||||
name: Build and run
|
name: Build and run
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 20
|
# This should be a safe limit for the tests to run.
|
||||||
|
timeout-minutes: 15
|
||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
Reference in New Issue
Block a user