From 96399160cc70e1204b2b50daca0194a9ec2d141e Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Thu, 10 Oct 2024 21:08:26 +1100 Subject: [PATCH] MNT: Re-rendered with conda-build 24.9.0, conda-smithy 3.42.0, and conda-forge-pinning 2024.10.10.08.45.34 --- .azure-pipelines/azure-pipelines-win.yml | 1 + azure-pipelines.yml | 32 +++++++++++++++++++++--- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/.azure-pipelines/azure-pipelines-win.yml b/.azure-pipelines/azure-pipelines-win.yml index cd6e51d..2d25a2d 100755 --- a/.azure-pipelines/azure-pipelines-win.yml +++ b/.azure-pipelines/azure-pipelines-win.yml @@ -14,6 +14,7 @@ jobs: timeoutInMinutes: 360 variables: CONDA_BLD_PATH: C:\\bld\\ + MINIFORGE_HOME: C:\Miniforge SET_PAGEFILE: 'True' UPLOAD_TEMP: D:\\tmp diff --git a/azure-pipelines.yml b/azure-pipelines.yml index baa1c2b..515534a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,6 +2,32 @@ # update the conda-forge.yml and/or the recipe/meta.yaml. # -*- mode: yaml -*- -jobs: - - template: ./.azure-pipelines/azure-pipelines-linux.yml - - template: ./.azure-pipelines/azure-pipelines-win.yml \ No newline at end of file +stages: +- stage: Check + jobs: + - job: Skip + pool: + vmImage: 'ubuntu-22.04' + variables: + DECODE_PERCENTS: 'false' + RET: 'true' + steps: + - checkout: self + + fetchDepth: '2' + - bash: | + git_log=`git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " "` + echo "##vso[task.setvariable variable=log]$git_log" + displayName: Obtain commit message + - bash: echo "##vso[task.setvariable variable=RET]false" + condition: or(contains(variables.log, '[skip azp]'), contains(variables.log, '[azp skip]'), contains(variables.log, '[skip ci]'), contains(variables.log, '[ci skip]')) + displayName: Skip build? + - bash: echo "##vso[task.setvariable variable=start_main;isOutput=true]$RET" + name: result + displayName: Export result +- stage: Build + condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true')) + dependsOn: Check + jobs: + - template: ./.azure-pipelines/azure-pipelines-linux.yml + - template: ./.azure-pipelines/azure-pipelines-win.yml \ No newline at end of file