Generated
+7
-7
@@ -31,13 +31,13 @@ pkgs_dirs:
|
|||||||
solver: libmamba
|
solver: libmamba
|
||||||
|
|
||||||
CONDARC
|
CONDARC
|
||||||
|
mv /opt/conda/conda-meta/history /opt/conda/conda-meta/history.$(date +%Y-%m-%d-%H-%M-%S)
|
||||||
|
echo > /opt/conda/conda-meta/history
|
||||||
|
micromamba install --root-prefix ~/.conda --prefix /opt/conda \
|
||||||
|
--yes --override-channels --channel conda-forge --strict-channel-priority \
|
||||||
|
pip python=3.12 conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
|
||||||
export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1
|
export CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED=1
|
||||||
|
|
||||||
mamba install --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
|
|
||||||
pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
|
|
||||||
mamba update --update-specs --yes --quiet --channel conda-forge --strict-channel-priority \
|
|
||||||
pip mamba conda-build conda-forge-ci-setup=4 "conda-build>=24.1"
|
|
||||||
|
|
||||||
# set up the condarc
|
# set up the condarc
|
||||||
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
|
setup_conda_rc "${FEEDSTOCK_ROOT}" "${RECIPE_ROOT}" "${CONFIG_FILE}"
|
||||||
|
|
||||||
@@ -73,8 +73,8 @@ else
|
|||||||
--extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}"
|
--extra-meta flow_run_id="${flow_run_id:-}" remote_url="${remote_url:-}" sha="${sha:-}"
|
||||||
( startgroup "Inspecting artifacts" ) 2> /dev/null
|
( startgroup "Inspecting artifacts" ) 2> /dev/null
|
||||||
|
|
||||||
# inspect_artifacts was only added in conda-forge-ci-setup 4.6.0
|
# inspect_artifacts was only added in conda-forge-ci-setup 4.9.4
|
||||||
command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts || echo "inspect_artifacts needs conda-forge-ci-setup >=4.6.0"
|
command -v inspect_artifacts >/dev/null 2>&1 && inspect_artifacts --recipe-dir "${RECIPE_ROOT}" -m "${CONFIG_FILE}" || echo "inspect_artifacts needs conda-forge-ci-setup >=4.9.4"
|
||||||
|
|
||||||
( endgroup "Inspecting artifacts" ) 2> /dev/null
|
( endgroup "Inspecting artifacts" ) 2> /dev/null
|
||||||
( startgroup "Validating outputs" ) 2> /dev/null
|
( startgroup "Validating outputs" ) 2> /dev/null
|
||||||
|
|||||||
Generated
+27
-2
@@ -2,5 +2,30 @@
|
|||||||
# update the conda-forge.yml and/or the recipe/meta.yaml.
|
# update the conda-forge.yml and/or the recipe/meta.yaml.
|
||||||
# -*- mode: yaml -*-
|
# -*- mode: yaml -*-
|
||||||
|
|
||||||
jobs:
|
stages:
|
||||||
- template: ./.azure-pipelines/azure-pipelines-linux.yml
|
- 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: and(eq(variables['Build.Reason'], 'PullRequest'), 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
|
||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
{% set name = "gdptools" %}
|
{% set name = "gdptools" %}
|
||||||
{% set version = "0.2.12" %}
|
{% set version = "0.2.13" %}
|
||||||
|
|
||||||
package:
|
package:
|
||||||
name: {{ name|lower }}
|
name: {{ name|lower }}
|
||||||
@@ -7,7 +7,7 @@ package:
|
|||||||
|
|
||||||
source:
|
source:
|
||||||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/gdptools-{{ version }}.tar.gz
|
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/gdptools-{{ version }}.tar.gz
|
||||||
sha256: 7addcbbb5762c42606401f51402165a6c88cbe64fe84902c5ca4b2e594a0c0a0
|
sha256: 77f49b44d174a4c174b6e0dabce3d7c20e7e9f12610d05183ff59b9ca20c0966
|
||||||
|
|
||||||
build:
|
build:
|
||||||
entry_points:
|
entry_points:
|
||||||
|
|||||||
Reference in New Issue
Block a user