Skip to content

Commit

Permalink
GitHub CI: Shorten the timeout for jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
quark17 committed Feb 19, 2024
1 parent 29a62c9 commit d6b6ceb
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
build-macOS:
name: "Build: ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
Expand Down Expand Up @@ -120,6 +121,7 @@ jobs:
test-macOS:
name: "Test ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 240
needs: build-macos
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -187,6 +189,7 @@ jobs:
test-toooba-macOS:
name: "Test Toooba ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 60
if: ${{ inputs.os != 'macos-13' }}
needs: build-macos
steps:
Expand Down Expand Up @@ -265,6 +268,7 @@ jobs:
test-contrib-macOS:
name: "Test bsc-contrib ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 30
needs: build-macos
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -341,6 +345,7 @@ jobs:
test-bdw-macOS:
name: "Test bdw ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 30
needs: build-macos
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/build-and-test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
build-ubuntu:
name: "Build: ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Checkout submodules
Expand Down Expand Up @@ -104,6 +105,7 @@ jobs:
test-ubuntu:
name: "Test ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 120
needs: build-ubuntu
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -170,6 +172,7 @@ jobs:
test-toooba-ubuntu:
name: "Test Toooba ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 30
needs: build-ubuntu
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -253,6 +256,7 @@ jobs:
test-contrib-ubuntu:
name: "Test bsc-contrib ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 30
needs: build-ubuntu
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -334,6 +338,7 @@ jobs:
test-bdw-ubuntu:
name: "Test bdw ${{ inputs.os }} ghc-${{ inputs.ghc_version }}"
runs-on: ${{ inputs.os }}
timeout-minutes: 30
needs: build-ubuntu
steps:
- uses: actions/checkout@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
build-check-src:
name: "Check: code cleanliness"
runs-on: ubuntu-20.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Check tabs and whitespace
Expand All @@ -16,6 +17,7 @@ jobs:
build-check-testsuite:
name: "Check: testsuite lint"
runs-on: ubuntu-20.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Check CONFDIR
Expand Down Expand Up @@ -75,6 +77,7 @@ jobs:
fail-fast: false
name: "Build doc: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand Down Expand Up @@ -112,6 +115,7 @@ jobs:
fail-fast: false
name: "Build doc: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand Down Expand Up @@ -155,6 +159,7 @@ jobs:
fail-fast: false
name: "Build releasenotes: ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand Down

0 comments on commit d6b6ceb

Please sign in to comment.