mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-19 04:50:29 +00:00
big: Run tests under CI.
This commit is contained in:
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -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
|
||||
|
||||
|
||||
@@ -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%
|
||||
Reference in New Issue
Block a user