Browse Source

CI: Run demo with debug info.

Jeroen van Rijn 3 years ago
parent
commit
96ba8f35d4
1 changed files with 12 additions and 0 deletions
  1. 12 0
      .github/workflows/ci.yml

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

@@ -22,6 +22,9 @@ jobs:
       - name: Odin run
       - name: Odin run
         run: ./odin run examples/demo/demo.odin
         run: ./odin run examples/demo/demo.odin
         timeout-minutes: 10
         timeout-minutes: 10
+      - name: Odin run -debug
+        run: ./odin run examples/demo/demo.odin -debug
+        timeout-minutes: 10
       - name: Core library tests
       - name: Core library tests
         run: |
         run: |
           cd tests/core
           cd tests/core
@@ -51,6 +54,9 @@ jobs:
       - name: Odin run
       - name: Odin run
         run: ./odin run examples/demo/demo.odin
         run: ./odin run examples/demo/demo.odin
         timeout-minutes: 10
         timeout-minutes: 10
+      - name: Odin run -debug
+        run: ./odin run examples/demo/demo.odin -debug
+        timeout-minutes: 10
   build_windows:
   build_windows:
     runs-on: windows-latest
     runs-on: windows-latest
     steps:
     steps:
@@ -78,6 +84,12 @@ jobs:
           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
         timeout-minutes: 10
+      - name: Odin run -debug
+        shell: cmd
+        run: |
+          call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
+          odin run examples/demo/demo.odin -debug
+        timeout-minutes: 10
       - name: Core library tests
       - name: Core library tests
         shell: cmd
         shell: cmd
         run: |
         run: |