Skip to content

Commit 9df9990

Browse files
authored
Merge pull request #74 from regro-cf-autotick-bot/1.3.0_h01a59e
bump-my-version v1.3.0
2 parents 66db476 + 22c2113 commit 9df9990

8 files changed

Lines changed: 110 additions & 97 deletions

File tree

.azure-pipelines/azure-pipelines-linux.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

.github/workflows/conda-build.yml

Lines changed: 102 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,110 @@
1-
# This file was added automatically by admin-migrations. Do not modify.
2-
# It ensures that Github Actions can run once rerendered for the first time.
1+
# This file was generated automatically from conda-smithy. To update this configuration,
2+
# update the conda-forge.yml and/or the recipe/meta.yaml.
33
# -*- mode: yaml -*-
44

55
name: Build conda package
66
on:
7-
workflow_dispatch:
7+
push:
8+
9+
pull_request:
10+
11+
concurrency:
12+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
13+
cancel-in-progress: true
814

915
jobs:
1016
build:
11-
name: Disabled build
12-
runs-on: ubuntu-slim
13-
if: false
17+
name: ${{ matrix.CONFIG }}
18+
runs-on: ${{ matrix.runs_on }}
19+
timeout-minutes: 360
20+
strategy:
21+
fail-fast: false
22+
max-parallel: 50
23+
matrix:
24+
include:
25+
- CONFIG: linux_64_
26+
UPLOAD_PACKAGES: True
27+
os: ubuntu
28+
runs_on: ['ubuntu-latest']
29+
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
1430
steps:
15-
- run: exit 0
31+
32+
- name: Checkout code
33+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
34+
35+
- name: Build on Linux
36+
id: build-linux
37+
if: matrix.os == 'ubuntu'
38+
env:
39+
CONFIG: ${{ matrix.CONFIG }}
40+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
41+
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
42+
CI: github_actions
43+
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
44+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
45+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
46+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
47+
shell: bash
48+
run: |
49+
if [[ "$(uname -m)" == "x86_64" ]]; then
50+
echo "::group::Configure binfmt_misc"
51+
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
52+
fi
53+
export flow_run_id="github_$GITHUB_RUN_ID"
54+
export remote_url="https://github.com/$GITHUB_REPOSITORY"
55+
export sha="$GITHUB_SHA"
56+
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
57+
export GIT_BRANCH="$(basename $GITHUB_REF)"
58+
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
59+
export IS_PR_BUILD="True"
60+
else
61+
export IS_PR_BUILD="False"
62+
fi
63+
echo "::endgroup::"
64+
./.scripts/run_docker_build.sh
65+
66+
- name: Build on macOS
67+
id: build-macos
68+
if: matrix.os == 'macos'
69+
env:
70+
CONFIG: ${{ matrix.CONFIG }}
71+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
72+
CI: github_actions
73+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
74+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
75+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
76+
shell: bash
77+
run: |
78+
export flow_run_id="github_$GITHUB_RUN_ID"
79+
export remote_url="https://github.com/$GITHUB_REPOSITORY"
80+
export sha="$GITHUB_SHA"
81+
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
82+
export GIT_BRANCH="$(basename $GITHUB_REF)"
83+
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
84+
export IS_PR_BUILD="True"
85+
else
86+
export IS_PR_BUILD="False"
87+
fi
88+
./.scripts/run_osx_build.sh
89+
90+
- name: Build on windows
91+
id: build-windows
92+
if: matrix.os == 'windows'
93+
shell: cmd
94+
run: |
95+
set "flow_run_id=github_%GITHUB_RUN_ID%"
96+
set "remote_url=https://github.com/%GITHUB_REPOSITORY%"
97+
set "sha=%GITHUB_SHA%"
98+
call ".scripts\run_win_build.bat"
99+
env:
100+
# default value; make it explicit, as it needs to match with artefact
101+
# generation below. Not configurable for now, can be revisited later
102+
CONDA_BLD_DIR: C:\bld
103+
MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
104+
PYTHONUNBUFFERED: 1
105+
CONFIG: ${{ matrix.CONFIG }}
106+
CI: github_actions
107+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
108+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
109+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
110+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}

.scripts/build_steps.sh

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE.txt

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

azure-pipelines.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

build-locally.py

Lines changed: 1 addition & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

recipe/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set name = "bump-my-version" %}
2-
{% set version = "1.2.7" %}
2+
{% set version = "1.3.0" %}
33
{% set build_number = 0 %}
44
{% set python_min = "3.10" %}
55

@@ -9,7 +9,7 @@ package:
99

1010
source:
1111
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name.replace('-', '_') }}-{{ version }}.tar.gz
12-
sha256: d915a10b41e0c9db5a2fa39bde9f45f92e1e4194242d819c9ceb9eca8831cd21
12+
sha256: 5780137a8d93378af3839798fcba01c7e6cb28dcc5aa5a7ab4d8507787f1995c
1313

1414
build:
1515
number: {{ build_number }}

0 commit comments

Comments
 (0)