@@ -201,95 +201,95 @@ jobs:
201201 - name : Odin check vendor/sdl3 for OpenBSD amd64
202202 run : ./odin check vendor/sdl3 -vet -strict-style -disallow-do -no-entry-point -target:openbsd_amd64
203203
204- build_windows :
205- name : Windows Build, Check, and Test
206- runs-on : windows-2022
207- timeout-minutes : 15
208- steps :
209- - uses : actions/checkout@v4
210- - name : build Odin
211- shell : cmd
212- run : |
213- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
214- ./build.bat 1
215- - name : Odin version
216- run : ./odin version
217- - name : Odin report
218- run : ./odin report
219- - name : Odin check
220- shell : cmd
221- run : |
222- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
223- odin check examples/demo -vet
224- - name : Odin run
225- shell : cmd
226- run : |
227- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
228- odin run examples/demo
229- - name : Odin run -debug
230- shell : cmd
231- run : |
232- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
233- odin run examples/demo -debug -vet -strict-style -disallow-do
234- - name : Odin check examples/all
235- shell : cmd
236- run : |
237- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
238- odin check examples/all -vet -strict-style -disallow-do
239- - name : Odin check vendor/sdl3
240- shell : cmd
241- run : |
242- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
243- odin check vendor/sdl3 -vet -strict-style -disallow-do -no-entry-point
244- - name : Core library tests
245- shell : cmd
246- run : |
247- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
248- odin test tests/core/normal.odin -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
249- - name : Optimized core library tests
250- shell : cmd
251- run : |
252- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
253- odin test tests/core/speed.odin -o:speed -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
254- - name : Vendor library tests
255- shell : cmd
256- run : |
257- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
258- copy vendor\lua\5.4\windows\*.dll .
259- odin test tests/vendor -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
260- - name : Odin internals tests
261- shell : cmd
262- run : |
263- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
264- odin test tests/internal -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
265- - name : Check issues
266- shell : cmd
267- run : |
268- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
269- cd tests/issues
270- call run.bat
271- - name : Check benchmarks
272- shell : cmd
273- run : |
274- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
275- odin check tests/benchmark -vet -strict-style -no-entry-point
276- - name : Odin documentation tests
277- shell : cmd
278- run : |
279- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
280- cd tests\documentation
281- call build.bat
282- - name : core:math/big tests
283- shell : cmd
284- run : |
285- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
286- cd tests\core\math\big
287- call build.bat
288- - name : Odin check examples/all for Windows 32bits
289- shell : cmd
290- run : |
291- call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
292- odin check examples/all -strict-style -target:windows_i386
204+ build_windows :
205+ name : Windows Build, Check, and Test
206+ runs-on : windows-2022
207+ timeout-minutes : 15
208+ steps :
209+ - uses : actions/checkout@v4
210+ - name : build Odin
211+ shell : cmd
212+ run : |
213+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
214+ ./build.bat 1
215+ - name : Odin version
216+ run : ./odin version
217+ - name : Odin report
218+ run : ./odin report
219+ - name : Odin check
220+ shell : cmd
221+ run : |
222+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
223+ odin check examples/demo -vet
224+ - name : Odin run
225+ shell : cmd
226+ run : |
227+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
228+ odin run examples/demo
229+ - name : Odin run -debug
230+ shell : cmd
231+ run : |
232+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
233+ odin run examples/demo -debug -vet -strict-style -disallow-do
234+ - name : Odin check examples/all
235+ shell : cmd
236+ run : |
237+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
238+ odin check examples/all -vet -strict-style -disallow-do
239+ - name : Odin check vendor/sdl3
240+ shell : cmd
241+ run : |
242+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
243+ odin check vendor/sdl3 -vet -strict-style -disallow-do -no-entry-point
244+ - name : Core library tests
245+ shell : cmd
246+ run : |
247+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
248+ odin test tests/core/normal.odin -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
249+ - name : Optimized core library tests
250+ shell : cmd
251+ run : |
252+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
253+ odin test tests/core/speed.odin -o:speed -file -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
254+ - name : Vendor library tests
255+ shell : cmd
256+ run : |
257+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
258+ copy vendor\lua\5.4\windows\*.dll .
259+ odin test tests/vendor -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
260+ - name : Odin internals tests
261+ shell : cmd
262+ run : |
263+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
264+ odin test tests/internal -all-packages -vet -strict-style -disallow-do -define:ODIN_TEST_FANCY=false -define:ODIN_TEST_FAIL_ON_BAD_MEMORY=true -sanitize:address
265+ - name : Check issues
266+ shell : cmd
267+ run : |
268+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
269+ cd tests/issues
270+ call run.bat
271+ - name : Check benchmarks
272+ shell : cmd
273+ run : |
274+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
275+ odin check tests/benchmark -vet -strict-style -no-entry-point
276+ - name : Odin documentation tests
277+ shell : cmd
278+ run : |
279+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
280+ cd tests\documentation
281+ call build.bat
282+ - name : core:math/big tests
283+ shell : cmd
284+ run : |
285+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
286+ cd tests\core\math\big
287+ call build.bat
288+ - name : Odin check examples/all for Windows 32bits
289+ shell : cmd
290+ run : |
291+ call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat
292+ odin check examples/all -strict-style -target:windows_i386
293293
294294 build_linux_riscv64 :
295295 runs-on : ubuntu-latest
0 commit comments