Browse Source

Update ci.yml

Mikkel Hjortshøj 4 years ago
parent
commit
4812006eb8
1 changed files with 9 additions and 0 deletions
  1. 9 0
      .github/workflows/ci.yml

+ 9 - 0
.github/workflows/ci.yml

@@ -12,10 +12,13 @@ jobs:
         run: make release
         run: make release
       - name: Odin version
       - name: Odin version
         run: ./odin version
         run: ./odin version
+        timeout-minutes: 1
       - name: Odin check
       - name: Odin check
         run: ./odin check examples/demo/demo.odin -vet
         run: ./odin check examples/demo/demo.odin -vet
+        timeout-minutes: 10
       - name: Odin run
       - name: Odin run
         run: ./odin run examples/demo/demo.odin
         run: ./odin run examples/demo/demo.odin
+        timeout-minutes: 10
   build_macOS:
   build_macOS:
     runs-on: macos-latest
     runs-on: macos-latest
     steps:
     steps:
@@ -30,10 +33,13 @@ jobs:
         run: make release
         run: make release
       - name: Odin version
       - name: Odin version
         run: ./odin version
         run: ./odin version
+        timeout-minutes: 1
       - name: Odin check
       - name: Odin check
         run: ./odin check examples/demo/demo.odin -vet
         run: ./odin check examples/demo/demo.odin -vet
+        timeout-minutes: 10
       - name: Odin run
       - name: Odin run
         run: ./odin run examples/demo/demo.odin
         run: ./odin run examples/demo/demo.odin
+        timeout-minutes: 10
   build_windows:
   build_windows:
     runs-on: windows-latest
     runs-on: windows-latest
     steps:
     steps:
@@ -45,15 +51,18 @@ jobs:
           ./build.bat 1
           ./build.bat 1
       - name: Odin version
       - name: Odin version
         run: ./odin version
         run: ./odin version
+        timeout-minutes: 1
       - name: Odin check
       - name: Odin check
         shell: cmd
         shell: cmd
         run: |
         run: |
           call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
           call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
           odin check examples/demo/demo.odin -vet
           odin check examples/demo/demo.odin -vet
+        timeout-minutes: 10
       - name: Odin run
       - name: Odin run
         shell: cmd
         shell: cmd
         run: |
         run: |
           call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
           call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
           odin run examples/demo/demo.odin
           odin run examples/demo/demo.odin
+        timeout-minutes: 10