Skip to content

Commit c12d549

Browse files
committed
Add timeout-minutes condition to github actions
1 parent 7961680 commit c12d549

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
macos:
7070
name: '[macos] x86_64/${{ matrix.dc }}'
7171
runs-on: macos-14
72+
timeout-minutes: 60
7273
needs: setup
7374
# Only run if the setup phase explicitly defined compilers to be used
7475
if: ${{ fromJSON(needs.setup.outputs.compilers).macos != '' && fromJSON(needs.setup.outputs.compilers).macos != '[]' }}
@@ -105,6 +106,7 @@ jobs:
105106
ubuntu:
106107
name: '[ubuntu] ${{ matrix.arch }}/${{ matrix.dc }}'
107108
runs-on: ubuntu-22.04
109+
timeout-minutes: 60
108110
needs: setup
109111
# Only run if the setup phase explicitly defined compilers to be used
110112
if: ${{ fromJSON(needs.setup.outputs.compilers).ubuntu != '' && fromJSON(needs.setup.outputs.compilers).ubuntu != '[]' }}
@@ -145,6 +147,7 @@ jobs:
145147
windows:
146148
name: '[windows] x86_64/${{ matrix.dc }}'
147149
runs-on: windows-2022
150+
timeout-minutes: 60
148151
needs: setup
149152
# Only run if the setup phase explicitly defined compilers to be used
150153
if: ${{ fromJSON(needs.setup.outputs.compilers).windows != '' && fromJSON(needs.setup.outputs.compilers).windows != '[]' }}

0 commit comments

Comments
 (0)