Skip to content

Commit

Permalink
Fix azure pipeline CI by using miniforge instead of deprecated mambaf…
Browse files Browse the repository at this point in the history
…orge
  • Loading branch information
ericpre committed Oct 16, 2024
1 parent 173f8d9 commit d69f282
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,38 +19,38 @@ resources:
# For more details on service connection endpoint, see
# https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints
endpoint: hyperspy # Azure DevOps service connection
ref: use_mamba
ref: use_miniforge

strategy:
matrix:
Linux_Python310:
vmImage: 'ubuntu-latest'
PYTHON_VERSION: '3.10'
MAMBAFORGE_PATH: $(Agent.BuildDirectory)/mambaforge
MINIFORGE_PATH: $(Agent.BuildDirectory)/miniforge3
Linux_Python39:
vmImage: 'ubuntu-latest'
PYTHON_VERSION: '3.9'
MAMBAFORGE_PATH: $(Agent.BuildDirectory)/mambaforge
MINIFORGE_PATH: $(Agent.BuildDirectory)/miniforge3
Linux_Python38:
vmImage: 'ubuntu-latest'
PYTHON_VERSION: '3.8'
MAMBAFORGE_PATH: $(Agent.BuildDirectory)/mambaforge
MINIFORGE_PATH: $(Agent.BuildDirectory)/miniforge3
MacOS_Python38:
vmImage: 'macOS-latest'
PYTHON_VERSION: '3.8'
MAMBAFORGE_PATH: $(Agent.BuildDirectory)/mambaforge
MINIFORGE_PATH: $(Agent.BuildDirectory)/miniforge3
MacOS_Python310:
vmImage: 'macOS-latest'
PYTHON_VERSION: '3.10'
MAMBAFORGE_PATH: $(Agent.BuildDirectory)/mambaforge
MINIFORGE_PATH: $(Agent.BuildDirectory)/miniforge3
Windows_Python38:
vmImage: 'windows-latest'
PYTHON_VERSION: '3.8'
MAMBAFORGE_PATH: $(Agent.BuildDirectory)\mambaforge
MINIFORGE_PATH: $(Agent.BuildDirectory)\miniforge3
Windows_Python310:
vmImage: 'windows-latest'
PYTHON_VERSION: '3.10'
MAMBAFORGE_PATH: $(Agent.BuildDirectory)\mambaforge
MINIFORGE_PATH: $(Agent.BuildDirectory)\miniforge3

pool:
vmImage: '$(vmImage)'
Expand All @@ -65,7 +65,7 @@ steps:
condition: ne(variables['Build.Repository.Name'], 'hyperspy/rosettasciio')
displayName: Fetch tags from hyperspy/rosettasciio
- template: azure_pipelines/clone_ci-scripts_repo.yml@templates
- template: azure_pipelines/install_mambaforge.yml@templates
- template: azure_pipelines/install_miniforge.yml@templates
- template: azure_pipelines/activate_conda.yml@templates
- template: azure_pipelines/setup_anaconda_packages.yml@templates

Expand Down

0 comments on commit d69f282

Please sign in to comment.