Update azure-pipelines.yml
This commit is contained in:
parent
9a2fb17f51
commit
0b10a04a0f
|
@ -87,22 +87,21 @@ jobs:
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'windows-latest'
|
vmImage: 'windows-latest'
|
||||||
steps:
|
steps:
|
||||||
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
|
- powershell: |
|
||||||
displayName: Add conda to PATH
|
Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
|
||||||
|
Write-Host "##vso[task.prependpath]$env:CONDA\Library\bin"
|
||||||
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Library\bin"
|
|
||||||
displayName: Add ninja to PATH
|
|
||||||
|
|
||||||
- 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
|
||||||
conda install --yes ninja
|
conda install --yes ninja
|
||||||
dir C:\Miniconda\Library\bin
|
dir C:\Miniconda\Library\bin
|
||||||
mkdir build
|
- task: CMake@1
|
||||||
cd build
|
inputs:
|
||||||
set PATH=%PATH%;C:\Miniconda\Library\bin
|
workingDirectory: 'build' # Optional
|
||||||
cmake -G Ninja -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DMSVC_STATIC_CRT=ON ..
|
cmakeArgs: '-G "Ninja" ..'
|
||||||
cmake --build .
|
- task: CMake@1
|
||||||
|
inputs:
|
||||||
|
cmakeArgs: '--build . --config Release'
|
||||||
|
workingDirectory: 'build'
|
||||||
|
|
||||||
- job: Windows_clang_cl_flang
|
- job: Windows_clang_cl_flang
|
||||||
pool:
|
pool:
|
||||||
|
|
Loading…
Reference in New Issue