Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Solovev committed Sep 5, 2024
1 parent 92ee88f commit 0aed02e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .ci/pipeline/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -695,10 +695,12 @@ jobs:
displayName: 'Upload build artifacts'
continueOnError: true
- script: |
call C:\temp\oneapi\setvars.bat --force
.\.ci\scripts\test.bat daal\cpp lib msvs cmake
.\.ci\scripts\test.bat daal\cpp dll msvs cmake
displayName: 'daal/cpp examples'
- script: |
call C:\temp\oneapi\setvars.bat --force
.\.ci\scripts\test.bat oneapi\cpp lib msvs cmake
.\.ci\scripts\test.bat oneapi\cpp dll msvs cmake
displayName: 'oneapi/cpp examples'
Expand Down
16 changes: 14 additions & 2 deletions .ci/scripts/test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,20 @@ echo CPUCOUNT=%CPUCOUNT%
echo PATH=C:\msys64\usr\bin;%PATH%
set PATH=C:\msys64\usr\bin;%PATH%

echo call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall" x64
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall" x64 || set errorcode=1
echo "%VISUALSTUDIOVERSION% HERE"

IF "%VS_VER%"=="2017_build_tools" (
@call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
echo "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
) ELSE (
IF "%VS_VER%"=="2019_build_tools" (
@call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
echo "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars64.bat"
) ELSE (
@call "C:\temp\oneapi\setvars-vcvarsall.bat" %VS_VER%
echo "C:\temp\oneapi\setvars-vcvarsall.bat" %VS_VER%
)
)

echo call __release_win_vc\daal\latest\env\vars.bat
call __release_win_vc\daal\latest\env\vars.bat || set errorcode=1
Expand Down

0 comments on commit 0aed02e

Please sign in to comment.