summaryrefslogtreecommitdiff
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorVincent Rouvreau <vincent.rouvreau@inria.fr>2022-07-04 23:53:59 +0200
committerVincent Rouvreau <vincent.rouvreau@inria.fr>2022-07-04 23:53:59 +0200
commit878ae6e0ad96fa003b437685e502c37f1ac9c0b0 (patch)
treeee45468d7f8cd0c822880824387d54441db4a285 /azure-pipelines.yml
parent51729a60ffab115aba2f9f12906728676262259b (diff)
Try to install ninja with choco and build with it
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml5
1 files changed, 3 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index d3086d31..3ed76fad 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -62,15 +62,16 @@ jobs:
# No PyKeOps on windows, let's workaround this one.
for /F "tokens=*" %%A in (ext\gudhi-deploy\test-requirements.txt) do python -m pip install %%A
vcpkg install boost-filesystem:x64-windows boost-test:x64-windows boost-program-options:x64-windows tbb:x64-windows eigen3:x64-windows cgal:x64-windows
+ choco install -y ninja --force --force-dependencies
displayName: 'Install build dependencies'
- script: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" amd64
IF %errorlevel% NEQ 0 exit /b %errorlevel%
mkdir build
cd build
- cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON $(cmakeVcpkgFlags) $(cmakeFlags) ..
+ cmake -G "Ninja" -A x64 -DCMAKE_BUILD_TYPE=Release -DFORCE_EIGEN_DEFAULT_DENSE_INDEX_TYPE_TO_INT=ON $(cmakeVcpkgFlags) $(cmakeFlags) ..
IF %errorlevel% NEQ 0 exit /b %errorlevel%
- MSBuild GUDHIdev.sln /m /p:Configuration=Release /p:Platform=x64
+ ninja
IF %errorlevel% NEQ 0 exit /b %errorlevel%
ctest --output-on-failure -C Release -E diff_files
IF %errorlevel% NEQ 0 exit /b %errorlevel%