Update azure-pipelines.yml

This commit is contained in:
Martin Kroeker 2021-10-07 22:54:29 +02:00 committed by GitHub
parent 9a2fb17f51
commit 0b10a04a0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 12 deletions

View File

@ -87,22 +87,21 @@ jobs:
pool:
vmImage: 'windows-latest'
steps:
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
displayName: Add conda to PATH
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Library\bin"
displayName: Add ninja to PATH
- script: |
- powershell: |
Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
Write-Host "##vso[task.prependpath]$env:CONDA\Library\bin"
conda config --add channels conda-forge --force
conda config --set auto_update_conda false
conda install --yes ninja
dir C:\Miniconda\Library\bin
mkdir build
cd build
set PATH=%PATH%;C:\Miniconda\Library\bin
cmake -G Ninja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DMSVC_STATIC_CRT=ON ..
cmake --build .
- task: CMake@1
inputs:
workingDirectory: 'build' # Optional
cmakeArgs: '-G "Ninja" ..'
- task: CMake@1
inputs:
cmakeArgs: '--build . --config Release'
workingDirectory: 'build'
- job: Windows_clang_cl_flang
pool: