From 99ecd3b59e33ec94acbc3edb5aed365638acf947 Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Wed, 6 Oct 2021 20:46:23 +0200 Subject: [PATCH] Update azure-pipelines.yml --- azure-pipelines.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e71c55f7f..579c7a12d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -86,21 +86,26 @@ jobs: - job: Windows_cmake_clang_cl pool: vmImage: 'windows-latest' - steps: + steps: + - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts" + displayName: Add conda to PATH + - script: | - C:\Miniconda\Scripts\activate.bat; - conda config --add-channels conda-forge --force; - conda config --set auto_update_conda false; - conda install --yes --quiet ninja; - mkdir build; - cd build; - cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DMSVC_STATIC_CRT=ON ..; + conda config --add-channels conda-forge --force + conda config --set auto_update_conda false + conda install --yes --quiet ninja + mkdir build + cd build + cmake -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DMSVC_STATIC_CRT=ON .. cmake --build . - job: Windows_clang_cl_flang pool: vmImage: 'windows-latest' - steps: + steps: + - powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts" + displayName: Add conda to PATH + - script: | conda config --add-channels conda-forge --force conda config --set auto_update_conda false