Skip to content

Commit 8499bc4

Browse files
authored
Use python 3.9 conda environment for cmake circleci workflows (#7370)
1 parent 9e3a37a commit 8499bc4

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.circleci/config.yml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/config.yml.in

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -995,6 +995,10 @@ jobs:
995995
command: |
996996
set -ex
997997
source packaging/windows/internal/vc_install_helper.sh
998+
eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
999+
conda activate base
1000+
conda create -yn python39 python=3.9
1001+
conda activate python39
9981002
packaging/build_cmake.sh
9991003

10001004
cmake_windows_gpu:
@@ -1012,6 +1016,11 @@ jobs:
10121016
set -ex
10131017
source packaging/windows/internal/vc_install_helper.sh
10141018
packaging/windows/internal/cuda_install.bat
1019+
eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
1020+
conda activate
1021+
conda update -y conda
1022+
conda create -yn python39 python=3.9
1023+
conda activate python39
10151024
packaging/build_cmake.sh
10161025

10171026
build_docs:

0 commit comments

Comments
 (0)