Browse Source

Merge pull request #1262 from Kelimion/ci_build_debug

CI: Run demo with debug info.
Jeroen van Rijn 3 năm trước cách đây
mục cha
commit
46e2b4e936
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  1. 12 0
      .github/workflows/ci.yml

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

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