aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-01-30 21:38:34 +0000
committergingerBill <bill@gingerbill.org>2022-01-30 21:38:34 +0000
commit35a826a0fdab5320462e9574f2a2f791bd913980 (patch)
tree3a9b57c2635bb6656f4a67735389e003dc48c845 /.github
parentebb8ca7c264c9b5b98e1388fcb2c6ef8bdc28d59 (diff)
Update CI to do `odin check examples/all`
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml29
1 files changed, 20 insertions, 9 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 6742b56f3..575d2406d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -17,13 +17,16 @@ jobs:
run: ./odin report
timeout-minutes: 1
- name: Odin check
- run: ./odin check examples/demo/demo.odin -vet
+ run: ./odin check examples/demo -vet
timeout-minutes: 10
- name: Odin run
- run: ./odin run examples/demo/demo.odin
+ run: ./odin run examples/demo
timeout-minutes: 10
- name: Odin run -debug
- run: ./odin run examples/demo/demo.odin -debug
+ run: ./odin run examples/demo -debug
+ timeout-minutes: 10
+ - name: Odin check examples/local
+ run: ./odin check examples/all
timeout-minutes: 10
- name: Core library tests
run: |
@@ -54,13 +57,16 @@ jobs:
run: ./odin report
timeout-minutes: 1
- name: Odin check
- run: ./odin check examples/demo/demo.odin -vet
+ run: ./odin check examples/demo -vet
timeout-minutes: 10
- name: Odin run
- run: ./odin run examples/demo/demo.odin
+ run: ./odin run examples/demo
timeout-minutes: 10
- name: Odin run -debug
- run: ./odin run examples/demo/demo.odin -debug
+ run: ./odin run examples/demo -debug
+ timeout-minutes: 10
+ - name: Odin check examples/local
+ run: ./odin check examples/all
timeout-minutes: 10
- name: Core library tests
run: |
@@ -91,19 +97,24 @@ jobs:
shell: cmd
run: |
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 -vet
timeout-minutes: 10
- name: Odin run
shell: cmd
run: |
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
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
+ odin run examples/demo -debug
+ timeout-minutes: 10
+ - name: Odin check examples/local
+ run: |
+ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
+ odin check examples/all
timeout-minutes: 10
- name: Core library tests
shell: cmd