Browse Source

Set relative path for Odin.

Jeroen van Rijn 4 years ago
parent
commit
1ab6a765da
2 changed files with 5 additions and 3 deletions
  1. 1 1
      .github/workflows/ci.yml
  2. 4 2
      tests/core/build.bat

+ 1 - 1
.github/workflows/ci.yml

@@ -71,7 +71,7 @@ jobs:
           cd core\math\big\tests
           call build.bat
         timeout-minutes: 10
-      - name: core:image tests
+      - name: core:image and core:compress tests
         shell: cmd
         run: |
           call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat

+ 4 - 2
tests/core/build.bat

@@ -1,4 +1,6 @@
 @echo off
+set COMMON=-show-timings -no-bounds-check -vet -strict-style
+set PATH_TO_ODIN==..\..\odin
 python3 download_assets.py
-odin test image    -vet -strict-style
-odin test compress -vet -strict-style
+%PATH_TO_ODIN% test image    %COMMON%
+%PATH_TO_ODIN% test compress %COMMON%