big: Run tests under CI.

This commit is contained in:
Jeroen van Rijn
2021-09-07 13:17:47 +02:00
parent 11c298775e
commit 0605a9f239
2 changed files with 9 additions and 3 deletions

View File

@@ -64,5 +64,11 @@ 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: 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

View File

@@ -4,5 +4,5 @@ set TEST_ARGS=
set OUT_NAME=test_library
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: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:size -out:%OUT_NAME% && python test.py %TEST_ARGS%
odin build . %COMMON% -o:speed -out:%OUT_NAME% && python test.py %TEST_ARGS%