Skip to content

Commit

Permalink
Merge pull request hyperspy#3453 from ericpre/fix_azure_pipeline_CI
Browse files Browse the repository at this point in the history
Update azure pipeline CI configuration to use miniforge in place of deprecated mambaforge
  • Loading branch information
jlaehne authored Oct 16, 2024
2 parents e5b435e + 1900884 commit 87b61b6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,34 +21,34 @@ 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_Python39:
vmImage: 'ubuntu-latest'
PYTHON_VERSION: '3.9'
MAMBAFORGE_PATH: $(Agent.BuildDirectory)/mambaforge
MINIFORGE_PATH: $(Agent.BuildDirectory)/miniforge3
Linux_Python310:
vmImage: 'ubuntu-latest'
PYTHON_VERSION: '3.10'
MAMBAFORGE_PATH: $(Agent.BuildDirectory)/mambaforge
MINIFORGE_PATH: $(Agent.BuildDirectory)/miniforge3
MacOS_Python39:
vmImage: 'macOS-latest'
PYTHON_VERSION: '3.9'
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_Python39:
vmImage: 'windows-latest'
PYTHON_VERSION: '3.9'
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 @@ -57,7 +57,7 @@ steps:
- checkout: self
fetchDepth: '1' # Fetch only one commit
- 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 87b61b6

Please sign in to comment.