From 0605a9f239857d90b605601cab77b1dcc68ca037 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Tue, 7 Sep 2021 13:17:47 +0200 Subject: [PATCH] big: Run tests under CI. --- .github/workflows/ci.yml | 8 +++++++- core/math/big/tests/build.bat | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a27acc7c..71645d824 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/core/math/big/tests/build.bat b/core/math/big/tests/build.bat index 6a82106db..bebd40aac 100644 --- a/core/math/big/tests/build.bat +++ b/core/math/big/tests/build.bat @@ -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% \ No newline at end of file +: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% \ No newline at end of file