Skip to content

Commit

Permalink
Merge pull request #12 from E3SM-Project/add_azure
Browse files Browse the repository at this point in the history
Add azure pipelines
  • Loading branch information
xylar authored Oct 15, 2021
2 parents 0823a0f + 25bab1c commit 7782c86
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
trigger:
branches:
include:
- main
tags:
include:
- '*'
pr:
branches:
include:
- main

jobs:
- job:
displayName: linux
pool:
vmImage: 'ubuntu-latest'
strategy:
matrix:
python3.9:
python.version: '3.9'

steps:
- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH

- bash: |
set -e
eval "$(conda shell.bash hook)"
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install --yes python=$PYTHON_VERSION conda conda-build mamba boa
mamba update --all --yes
displayName: Update conda base environment
- bash: |
eval "$(conda shell.bash hook)"
conda mambabuild conda/
displayName: Build mache metapackage

0 comments on commit 7782c86

Please sign in to comment.