@@ -49,8 +49,8 @@ if [[ "$(uname)" == MINGW* ]]; then
49
49
# hmaarrfk -- 2023/02
50
50
# For some reason the Mambaforge-Linux-ppc64le works fine in under 15 mins on a branch
51
51
# but then fails to build within the 6 hour time limit on the release CI.
52
- if [[ " ${INSTALLER_NAME} " == " Mambaforge " ]] && [[ " ${ INSTALLER_EXE}" != " Mambaforge -Linux-ppc64le.sh" ]]; then
53
- echo " ***** Mambaforge detected. Checking for boa compatibility *****"
52
+ if [[ " ${INSTALLER_EXE} " != " * -Linux-ppc64le.sh" ]]; then
53
+ echo " ***** Checking for boa compatibility *****"
54
54
mamba_version_start=$( mamba --version | grep mamba | cut -d ' ' -f 2)
55
55
mamba.exe install boa --yes
56
56
mamba_version_end=$( mamba --version | grep mamba | cut -d ' ' -f 2)
@@ -60,12 +60,12 @@ if [[ "$(uname)" == MINGW* ]]; then
60
60
fi
61
61
fi
62
62
else
63
- # Test one of our installers in batch mode
63
+ # Test one of our installers (Mambaforge ) in batch mode
64
64
if [[ " ${INSTALLER_NAME} " == " Mambaforge" ]]; then
65
65
bash " ${INSTALLER_PATH} " -b -p " ${CONDA_PATH} "
66
66
# And the other in interactive mode
67
67
else
68
- # Test interactive install. The install will ask the user to
68
+ # Test interactive install (Miniforge) . The install will ask the user to
69
69
# - newline -- read the EULA
70
70
# - yes -- then accept
71
71
# - ${CONDA_PATH} -- Then specify the path
86
86
conda info
87
87
conda list
88
88
89
- if [[ " ${INSTALLER_NAME} " == " Mambaforge" ]]; then
90
- echo " ***** Mambaforge detected. Checking for boa compatibility *****"
91
- implementation=$( python -c " import platform; print(platform.python_implementation().lower())" )
92
- major_minor_version=$( python -c ' import sys; print(f"{sys.version_info[0]}.{sys.version_info[1]}")' )
93
- mamba_version_start=$( mamba --version | grep mamba | cut -d ' ' -f 2)
94
- mamba info
95
- mamba install " mamba=${mamba_version_start} " " python=${major_minor_version} .*=*_${implementation} " boa --yes
96
- mamba_version_end=$( mamba --version | grep mamba | cut -d ' ' -f 2)
97
- if [[ " ${mamba_version_start} " != " ${mamba_version_end} " ]]; then
98
- echo " mamba version changed from ${mamba_version_start} to ${mamba_version_end} "
99
- exit 1
100
- fi
101
-
89
+ echo " ***** Checking for boa compatibility *****"
90
+ implementation=$( python -c " import platform; print(platform.python_implementation().lower())" )
91
+ major_minor_version=$( python -c ' import sys; print(f"{sys.version_info[0]}.{sys.version_info[1]}")' )
92
+ mamba_version_start=$( mamba --version | grep mamba | cut -d ' ' -f 2)
93
+ mamba info
94
+ mamba install " mamba=${mamba_version_start} " " python=${major_minor_version} .*=*_${implementation} " boa --yes
95
+ mamba_version_end=$( mamba --version | grep mamba | cut -d ' ' -f 2)
96
+ if [[ " ${mamba_version_start} " != " ${mamba_version_end} " ]]; then
97
+ echo " mamba version changed from ${mamba_version_start} to ${mamba_version_end} "
98
+ exit 1
102
99
fi
103
100
fi
104
101
0 commit comments