From 8499bc497b0b1d19f971b7389623884bcd44c62b Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Wed, 1 Mar 2023 11:40:03 -0500 Subject: [PATCH] Use python 3.9 conda environment for cmake circleci workflows (#7370) --- .circleci/config.yml | 9 +++++++++ .circleci/config.yml.in | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b2193928b1e..7fad570b997 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -995,6 +995,10 @@ jobs: command: | set -ex source packaging/windows/internal/vc_install_helper.sh + eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')" + conda activate base + conda create -yn python39 python=3.9 + conda activate python39 packaging/build_cmake.sh cmake_windows_gpu: @@ -1012,6 +1016,11 @@ jobs: set -ex source packaging/windows/internal/vc_install_helper.sh packaging/windows/internal/cuda_install.bat + eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')" + conda activate + conda update -y conda + conda create -yn python39 python=3.9 + conda activate python39 packaging/build_cmake.sh build_docs: diff --git a/.circleci/config.yml.in b/.circleci/config.yml.in index abc99065683..841cfc3f5ff 100644 --- a/.circleci/config.yml.in +++ b/.circleci/config.yml.in @@ -995,6 +995,10 @@ jobs: command: | set -ex source packaging/windows/internal/vc_install_helper.sh + eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')" + conda activate base + conda create -yn python39 python=3.9 + conda activate python39 packaging/build_cmake.sh cmake_windows_gpu: @@ -1012,6 +1016,11 @@ jobs: set -ex source packaging/windows/internal/vc_install_helper.sh packaging/windows/internal/cuda_install.bat + eval "$('/C/tools/miniconda3/Scripts/conda.exe' 'shell.bash' 'hook')" + conda activate + conda update -y conda + conda create -yn python39 python=3.9 + conda activate python39 packaging/build_cmake.sh build_docs: