Update azure-pipelines.yml

This commit is contained in:
Martin Kroeker 2021-10-06 21:46:37 +02:00 committed by GitHub
parent 2878f6f42e
commit 6641837408
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -92,8 +92,10 @@ jobs:
- script: | - script: |
conda config --add channels conda-forge --force conda config --add channels conda-forge --force
conda create -yyes --quiet --name buildenv
call activate buildenv
conda config --set auto_update_conda false conda config --set auto_update_conda false
conda install --yes ninja conda install --yes --name buildenv ninja
mkdir build mkdir build
cd build cd build
cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DMSVC_STATIC_CRT=ON .. cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DMSVC_STATIC_CRT=ON ..