diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f5c0ebe..ca20d7ac 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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