Skip to content

Commit

Permalink
Install miniconda on macos
Browse files Browse the repository at this point in the history
Grrr
  • Loading branch information
guyer committed Oct 3, 2024
1 parent 4a72b06 commit 07ec7cb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .azure/templates/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ parameters:
default: scipy

steps:
- bash: |
# laggards on Azure/GHA team dropped miniconda on macos images
# https://github.com/actions/runner-images/issues/9262
mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm ~/miniconda3/miniconda.sh
echo "##vso[task.setvariable variable=CONDA;]${HOME}/miniconda3"
displayName: Install miniconda
condition: startsWith(variables.image, 'macos')
- bash: |
echo "# # vso [task.prependpath]$CONDA/bin"
echo "##vso[task.prependpath]$CONDA/bin"
Expand Down

0 comments on commit 07ec7cb

Please sign in to comment.