CI: added build timeout
10 minutes as default, 15 for macOS and Windows, 2 for source code package
This commit is contained in:
parent
753087fe2e
commit
0ca5a6c8cf
1 changed files with 8 additions and 0 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -24,6 +24,7 @@ jobs:
|
|||
clang_tidy:
|
||||
name: Clang Tidy
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
|
@ -37,6 +38,7 @@ jobs:
|
|||
test_with_asan:
|
||||
name: ASAN
|
||||
runs-on: ubuntu-22.04 # abseil (libabsl) is not available in 20.04 repository
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
install_name: sfizz-${{ github.ref_name }}-linux
|
||||
strategy:
|
||||
|
|
@ -88,6 +90,7 @@ jobs:
|
|||
build_for_linux:
|
||||
name: Linux Ubuntu 22.04
|
||||
runs-on: ubuntu-22.04 # abseil (libabsl) is not available in 20.04 repository
|
||||
timeout-minutes: 10
|
||||
env:
|
||||
install_name: sfizz-${{ github.ref_name }}-linux
|
||||
steps:
|
||||
|
|
@ -171,6 +174,7 @@ jobs:
|
|||
build_for_macos:
|
||||
name: macOS 11
|
||||
runs-on: macos-11
|
||||
timeout-minutes: 15
|
||||
env:
|
||||
install_name: "sfizz-${{ github.ref_name }}-macos"
|
||||
steps:
|
||||
|
|
@ -243,6 +247,7 @@ jobs:
|
|||
build_for_windows:
|
||||
name: Windows 2019
|
||||
runs-on: windows-2019
|
||||
timeout-minutes: 15
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
|
|
@ -306,6 +311,7 @@ jobs:
|
|||
if: ${{ github.ref_type == 'tag' }}
|
||||
name: Source code archive
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 2
|
||||
env:
|
||||
install_name: sfizz-${{ github.ref_name }}
|
||||
steps:
|
||||
|
|
@ -331,6 +337,7 @@ jobs:
|
|||
build_with_libsndfile:
|
||||
name: Linux libsndfile
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
|
@ -378,6 +385,7 @@ jobs:
|
|||
build_with_makefile:
|
||||
name: Linux makefile
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue