Skip to content

Commit f19ae66

Browse files
committed
CI: Add a 30 minute timeout for installing cuda on windows.
Usually takes < 10 minutes, but sometimes takes 25 minutes from recent-ish workflow runs, or it hangs and timeouts after 6 hours. Closes #1303
1 parent d0c21b0 commit f19ae66

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/Draft-Release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ jobs:
240240

241241
- name: Install CUDA (Windows)
242242
if: ${{ runner.os == 'Windows' && env.CUDA != '' }}
243+
timeout-minutes: 30
243244
shell: powershell
244245
env:
245246
cuda: ${{ env.CUDA }}
@@ -537,6 +538,7 @@ jobs:
537538
- name: Install CUDA (Windows)
538539
if: ${{ runner.os == 'Windows' && env.CUDA != '' }}
539540
shell: powershell
541+
timeout-minutes: 30
540542
env:
541543
cuda: ${{ env.CUDA }}
542544
visual_studio: ${{ env.HOSTCXX }}

.github/workflows/Windows-Tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
- name: Install CUDA (Windows)
7575
if: ${{ runner.os == 'Windows' && env.CUDA != '' }}
7676
shell: powershell
77+
timeout-minutes: 30
7778
env:
7879
cuda: ${{ env.CUDA }}
7980
visual_studio: ${{ env.HOSTCXX }}

.github/workflows/Windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ jobs:
122122
- name: Install CUDA (Windows)
123123
if: ${{ runner.os == 'Windows' && env.CUDA != '' }}
124124
shell: powershell
125+
timeout-minutes: 30
125126
env:
126127
cuda: ${{ env.CUDA }}
127128
visual_studio: ${{ env.HOSTCXX }}

0 commit comments

Comments
 (0)