Unverified Commit 8666bc63 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] fix recent conda and mamba matching error (#7047)

* Update setup.sh

* Update build-docs.sh

* Update test-windows.ps1
parent 1d251925
...@@ -153,7 +153,7 @@ if [[ "${TASK}" != "cpp-tests" ]] && [[ "${TASK}" != "r-package" ]]; then ...@@ -153,7 +153,7 @@ if [[ "${TASK}" != "cpp-tests" ]] && [[ "${TASK}" != "r-package" ]]; then
sh miniforge.sh -b -p "${CONDA}" sh miniforge.sh -b -p "${CONDA}"
fi fi
conda config --set always_yes yes --set changeps1 no conda config --set always_yes yes --set changeps1 no
conda update -q -y conda conda update -q -y conda conda-libmamba-solver
# print output of 'conda info', to help in submitting bug reports # print output of 'conda info', to help in submitting bug reports
echo "conda info:" echo "conda info:"
......
...@@ -66,7 +66,7 @@ if ($env:TASK -eq "swig") { ...@@ -66,7 +66,7 @@ if ($env:TASK -eq "swig") {
conda init powershell conda init powershell
conda activate conda activate
conda config --set always_yes yes --set changeps1 no conda config --set always_yes yes --set changeps1 no
conda update -q -y conda "python=$env:PYTHON_VERSION[build=*_cp*]" conda update -q -y conda conda-libmamba-solver "python=$env:PYTHON_VERSION[build=*_cp*]"
# print output of 'conda info', to help in submitting bug reports # print output of 'conda info', to help in submitting bug reports
Write-Output "conda info:" Write-Output "conda info:"
......
...@@ -14,7 +14,7 @@ curl \ ...@@ -14,7 +14,7 @@ curl \
/bin/bash "${HOME}/miniforge.sh" -b -p "${CONDA}" /bin/bash "${HOME}/miniforge.sh" -b -p "${CONDA}"
conda config --set always_yes yes --set changeps1 no conda config --set always_yes yes --set changeps1 no
conda update -q -y conda conda update -q -y conda conda-libmamba-solver
conda env create \ conda env create \
--name docs-env \ --name docs-env \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment