Skip to content

Commit

Permalink
Merge pull request #322 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 173f8d9 + d69f282 commit 44f7491
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 44f7491

Please sign in to comment.