Update azure-pipelines.yml

This commit is contained in:
Martin Kroeker 2021-10-06 20:46:23 +02:00 committed by GitHub
parent a157f9a2c4
commit 99ecd3b59e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 9 deletions

View File

@ -86,21 +86,26 @@ jobs:
- job: Windows_cmake_clang_cl - job: Windows_cmake_clang_cl
pool: pool:
vmImage: 'windows-latest' vmImage: 'windows-latest'
steps: steps:
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
displayName: Add conda to PATH
- script: | - script: |
C:\Miniconda\Scripts\activate.bat; conda config --add-channels conda-forge --force
conda config --add-channels conda-forge --force; conda config --set auto_update_conda false
conda config --set auto_update_conda false; conda install --yes --quiet ninja
conda install --yes --quiet 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 ..;
cmake --build . cmake --build .
- job: Windows_clang_cl_flang - job: Windows_clang_cl_flang
pool: pool:
vmImage: 'windows-latest' vmImage: 'windows-latest'
steps: steps:
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
displayName: Add conda to PATH
- script: | - script: |
conda config --add-channels conda-forge --force conda config --add-channels conda-forge --force
conda config --set auto_update_conda false conda config --set auto_update_conda false