]> source.dussan.org Git - tigervnc.git/commitdiff
Limit GitHub action run times
authorPierre Ossman <ossman@cendio.se>
Sat, 25 Mar 2023 12:12:13 +0000 (13:12 +0100)
committerPierre Ossman <ossman@cendio.se>
Sat, 25 Mar 2023 18:10:40 +0000 (19:10 +0100)
We don't want a broken job to consume our entire quota, so make sure
things are killed if the stray too far from a normal runtime.

.github/workflows/build.yml

index 68ecaaa9564874f965ed7c8d024e5154a6dac0d6..a34badb764388a57a589a602313cc8596a8499b2 100644 (file)
@@ -5,6 +5,7 @@ on: [push, pull_request]
 jobs:
   build-linux:
     runs-on: ubuntu-latest
+    timeout-minutes: 10
     steps:
       - uses: actions/checkout@v3
       - name: Install dependencies
@@ -29,6 +30,7 @@ jobs:
 
   build-windows:
     runs-on: windows-latest
+    timeout-minutes: 20
     defaults:
       run:
         shell: msys2 {0}
@@ -60,6 +62,7 @@ jobs:
 
   build-macos:
     runs-on: macos-latest
+    timeout-minutes: 20
     steps:
       - uses: actions/checkout@v3
       - name: Install dependencies
@@ -81,6 +84,7 @@ jobs:
 
   build-java:
     runs-on: ubuntu-latest
+    timeout-minutes: 5
     strategy:
       matrix:
         java: [ '8', '11', '16' ]
@@ -103,6 +107,7 @@ jobs:
           path: java/build/VncViewer.jar
 
   build-packages:
+    timeout-minutes: 20
     strategy:
       matrix:
         target: