mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
big: Run tests under CI.
This commit is contained in:
@@ -64,5 +64,11 @@ 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: core:math/big tests
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat
|
||||||
|
cd core\math\big\tests
|
||||||
|
call build.bat
|
||||||
|
timeout-minutes: 10
|
||||||
|
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ set TEST_ARGS=
|
|||||||
set OUT_NAME=test_library
|
set OUT_NAME=test_library
|
||||||
set COMMON=-build-mode:shared -show-timings -no-bounds-check -define:MATH_BIG_EXE=false -vet -strict-style
|
set COMMON=-build-mode:shared -show-timings -no-bounds-check -define:MATH_BIG_EXE=false -vet -strict-style
|
||||||
:odin build . %COMMON% -o:minimal -out:%OUT_NAME% && python test.py %TEST_ARGS%
|
:odin build . %COMMON% -o:minimal -out:%OUT_NAME% && python test.py %TEST_ARGS%
|
||||||
odin build . %COMMON% -o:size -out:%OUT_NAME% && python test.py %TEST_ARGS%
|
:odin build . %COMMON% -o:size -out:%OUT_NAME% && python test.py %TEST_ARGS%
|
||||||
:odin build . %COMMON% -o:speed -out:%OUT_NAME% && python test.py %TEST_ARGS%
|
odin build . %COMMON% -o:speed -out:%OUT_NAME% && python test.py %TEST_ARGS%
|
||||||
Reference in New Issue
Block a user