Update CI to do odin check examples/all

This commit is contained in:
gingerBill
2022-01-30 21:38:34 +00:00
parent ebb8ca7c26
commit 35a826a0fd
+20 -9
View File
@@ -17,13 +17,16 @@ jobs:
run: ./odin report run: ./odin report
timeout-minutes: 1 timeout-minutes: 1
- name: Odin check - name: Odin check
run: ./odin check examples/demo/demo.odin -vet run: ./odin check examples/demo -vet
timeout-minutes: 10 timeout-minutes: 10
- name: Odin run - name: Odin run
run: ./odin run examples/demo/demo.odin run: ./odin run examples/demo
timeout-minutes: 10 timeout-minutes: 10
- name: Odin run -debug - 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 timeout-minutes: 10
- name: Core library tests - name: Core library tests
run: | run: |
@@ -54,13 +57,16 @@ jobs:
run: ./odin report run: ./odin report
timeout-minutes: 1 timeout-minutes: 1
- name: Odin check - name: Odin check
run: ./odin check examples/demo/demo.odin -vet run: ./odin check examples/demo -vet
timeout-minutes: 10 timeout-minutes: 10
- name: Odin run - name: Odin run
run: ./odin run examples/demo/demo.odin run: ./odin run examples/demo
timeout-minutes: 10 timeout-minutes: 10
- name: Odin run -debug - 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 timeout-minutes: 10
- name: Core library tests - name: Core library tests
run: | run: |
@@ -91,19 +97,24 @@ jobs:
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 -vet
timeout-minutes: 10 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
timeout-minutes: 10 timeout-minutes: 10
- name: Odin run -debug - name: Odin run -debug
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 -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 timeout-minutes: 10
- name: Core library tests - name: Core library tests
shell: cmd shell: cmd