diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..c5fd8dc2 --- /dev/null +++ b/azure-pipelines.yml @@ -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