Skip to content

Commit 07ec7cb

Browse files
committed
Install miniconda on macos
Grrr
1 parent 4a72b06 commit 07ec7cb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.azure/templates/install.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ parameters:
1010
default: scipy
1111

1212
steps:
13+
- bash: |
14+
# laggards on Azure/GHA team dropped miniconda on macos images
15+
# https://github.com/actions/runner-images/issues/9262
16+
mkdir -p ~/miniconda3
17+
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o ~/miniconda3/miniconda.sh
18+
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
19+
rm ~/miniconda3/miniconda.sh
20+
echo "##vso[task.setvariable variable=CONDA;]${HOME}/miniconda3"
21+
displayName: Install miniconda
22+
condition: startsWith(variables.image, 'macos')
23+
1324
- bash: |
1425
echo "# # vso [task.prependpath]$CONDA/bin"
1526
echo "##vso[task.prependpath]$CONDA/bin"

0 commit comments

Comments
 (0)