Github CI: added timeouts to all checks

This commit is contained in:
SChernykh 2023-02-07 11:13:13 +01:00
parent c94dd46294
commit 2e00ac402a
5 changed files with 13 additions and 0 deletions

View file

@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
build-ubuntu:
timeout-minutes: 10
runs-on: ${{ matrix.config.os }}
strategy:
@ -51,6 +52,7 @@ jobs:
build-ubuntu-static-libs:
timeout-minutes: 15
runs-on: ubuntu-22.04
steps:
@ -115,6 +117,7 @@ jobs:
build-ubuntu-aarch64:
timeout-minutes: 10
runs-on: ${{ matrix.config.os }}
strategy:
@ -172,6 +175,7 @@ jobs:
build-windows-msys2:
timeout-minutes: 45
runs-on: windows-latest
defaults:
@ -241,6 +245,7 @@ jobs:
build-windows-msbuild:
timeout-minutes: 20
runs-on: windows-${{ matrix.config.os }}
strategy:
@ -287,6 +292,7 @@ jobs:
build-macos:
timeout-minutes: 15
runs-on: ${{ matrix.os }}
strategy:

View file

@ -20,6 +20,7 @@ on:
jobs:
analyze:
name: Analyze
timeout-minutes: 20
runs-on: ubuntu-latest
permissions:
actions: read

View file

@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
cppcheck-ubuntu:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
@ -31,6 +32,7 @@ jobs:
cppcheck-windows:
timeout-minutes: 20
runs-on: windows-latest
steps:

View file

@ -22,6 +22,7 @@ env:
jobs:
analyze:
name: Analyze
timeout-minutes: 15
runs-on: windows-latest
steps:

View file

@ -5,6 +5,7 @@ on: [push, pull_request]
jobs:
sync-test-ubuntu:
timeout-minutes: 30
runs-on: ubuntu-22.04
steps:
@ -43,6 +44,7 @@ jobs:
sync-test-macos:
timeout-minutes: 30
runs-on: macos-12
steps:
@ -78,6 +80,7 @@ jobs:
sync-test-windows:
timeout-minutes: 30
runs-on: windows-2022
steps: