Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .azure-pipelines/Windows-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ jobs:
- powershell: Write-Host "##vso[task.prependpath]$env:CONDA\Scripts"
displayName: Add conda to PATH

# cmake 3.28.3 failed to find protobuf installed from conda-forge
# https://gitlab.kitware.com/cmake/cmake/-/issues/25704
- script: |
choco install cmake --version 3.27.9 -y
cmake --version
displayName: Install specific version of CMake and check version

- script: |
conda create --yes --quiet --name py$(python.version) python=$(python.version)
if '$(protobuf_type)' == 'External' (
Expand All @@ -72,6 +65,9 @@ jobs:
)
displayName: Create Anaconda environment

- powershell: echo "##vso[task.setvariable variable=CMAKE_PREFIX_PATH]$env:CONDA/envs/py$(python.version)/Library"
displayName: Set CMAKE_PREFIX_PATH

- script: |
call activate py$(python.version)
python -m pip install --upgrade pip
Expand Down