Skip to content

Commit 4423175

Browse files
atalmanNicolasHug
authored andcommitted
Use python 3.9 conda environment for cmake circleci workflows (pytorch#7370)
1 parent 9cf46fe commit 4423175

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.circleci/config.yml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/config.yml.in

+9
Original file line numberDiff line numberDiff line change
@@ -991,6 +991,10 @@ jobs:
991991
command: |
992992
set -ex
993993
source packaging/windows/internal/vc_install_helper.sh
994+
eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
995+
conda activate base
996+
conda create -yn python39 python=3.9
997+
conda activate python39
994998
packaging/build_cmake.sh
995999

9961000
cmake_windows_gpu:
@@ -1008,6 +1012,11 @@ jobs:
10081012
set -ex
10091013
source packaging/windows/internal/vc_install_helper.sh
10101014
packaging/windows/internal/cuda_install.bat
1015+
eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')"
1016+
conda activate
1017+
conda update -y conda
1018+
conda create -yn python39 python=3.9
1019+
conda activate python39
10111020
packaging/build_cmake.sh
10121021

10131022
build_docs:

0 commit comments

Comments
 (0)