Skip to content

Commit fd3cf95

Browse files
quantlib-python v1.42.1 (#52)
automerged PR by conda-forge/automerge-action
2 parents 09fd2e5 + 8d626ed commit fd3cf95

14 files changed

+181
-102
lines changed

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

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

.azure-pipelines/azure-pipelines-osx.yml

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.ci_support/osx_64_python3.10.____cpython.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
MACOSX_DEPLOYMENT_TARGET:
2-
- '10.13'
2+
- '11.0'
33
MACOSX_SDK_VERSION:
4-
- '10.13'
4+
- '11.0'
55
c_compiler:
66
- clang
77
c_compiler_version:
88
- '19'
99
c_stdlib:
1010
- macosx_deployment_target
1111
c_stdlib_version:
12-
- '10.13'
12+
- '11.0'
1313
channel_sources:
1414
- conda-forge
1515
channel_targets:

.ci_support/osx_64_python3.11.____cpython.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
MACOSX_DEPLOYMENT_TARGET:
2-
- '10.13'
2+
- '11.0'
33
MACOSX_SDK_VERSION:
4-
- '10.13'
4+
- '11.0'
55
c_compiler:
66
- clang
77
c_compiler_version:
88
- '19'
99
c_stdlib:
1010
- macosx_deployment_target
1111
c_stdlib_version:
12-
- '10.13'
12+
- '11.0'
1313
channel_sources:
1414
- conda-forge
1515
channel_targets:

.ci_support/osx_64_python3.12.____cpython.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
MACOSX_DEPLOYMENT_TARGET:
2-
- '10.13'
2+
- '11.0'
33
MACOSX_SDK_VERSION:
4-
- '10.13'
4+
- '11.0'
55
c_compiler:
66
- clang
77
c_compiler_version:
88
- '19'
99
c_stdlib:
1010
- macosx_deployment_target
1111
c_stdlib_version:
12-
- '10.13'
12+
- '11.0'
1313
channel_sources:
1414
- conda-forge
1515
channel_targets:

.ci_support/osx_64_python3.13.____cp313.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
MACOSX_DEPLOYMENT_TARGET:
2-
- '10.13'
2+
- '11.0'
33
MACOSX_SDK_VERSION:
4-
- '10.13'
4+
- '11.0'
55
c_compiler:
66
- clang
77
c_compiler_version:
88
- '19'
99
c_stdlib:
1010
- macosx_deployment_target
1111
c_stdlib_version:
12-
- '10.13'
12+
- '11.0'
1313
channel_sources:
1414
- conda-forge
1515
channel_targets:

.ci_support/osx_64_python3.14.____cp314.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
MACOSX_DEPLOYMENT_TARGET:
2-
- '10.13'
2+
- '11.0'
33
MACOSX_SDK_VERSION:
4-
- '10.13'
4+
- '11.0'
55
c_compiler:
66
- clang
77
c_compiler_version:
88
- '19'
99
c_stdlib:
1010
- macosx_deployment_target
1111
c_stdlib_version:
12-
- '10.13'
12+
- '11.0'
1313
channel_sources:
1414
- conda-forge
1515
channel_targets:

.github/workflows/conda-build.yml

Lines changed: 122 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,130 @@
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_python3.10.____cpython
26+
UPLOAD_PACKAGES: True
27+
os: ubuntu
28+
runs_on: ['ubuntu-latest']
29+
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
30+
- CONFIG: linux_64_python3.11.____cpython
31+
UPLOAD_PACKAGES: True
32+
os: ubuntu
33+
runs_on: ['ubuntu-latest']
34+
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
35+
- CONFIG: linux_64_python3.12.____cpython
36+
UPLOAD_PACKAGES: True
37+
os: ubuntu
38+
runs_on: ['ubuntu-latest']
39+
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
40+
- CONFIG: linux_64_python3.13.____cp313
41+
UPLOAD_PACKAGES: True
42+
os: ubuntu
43+
runs_on: ['ubuntu-latest']
44+
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
45+
- CONFIG: linux_64_python3.14.____cp314
46+
UPLOAD_PACKAGES: True
47+
os: ubuntu
48+
runs_on: ['ubuntu-latest']
49+
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
1450
steps:
15-
- run: exit 0
51+
52+
- name: Checkout code
53+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
54+
55+
- name: Build on Linux
56+
id: build-linux
57+
if: matrix.os == 'ubuntu'
58+
env:
59+
CONFIG: ${{ matrix.CONFIG }}
60+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
61+
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
62+
CI: github_actions
63+
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
64+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
65+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
66+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
67+
shell: bash
68+
run: |
69+
if [[ "$(uname -m)" == "x86_64" ]]; then
70+
echo "::group::Configure binfmt_misc"
71+
docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
72+
fi
73+
export flow_run_id="github_$GITHUB_RUN_ID"
74+
export remote_url="https://github.com/$GITHUB_REPOSITORY"
75+
export sha="$GITHUB_SHA"
76+
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
77+
export GIT_BRANCH="$(basename $GITHUB_REF)"
78+
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
79+
export IS_PR_BUILD="True"
80+
else
81+
export IS_PR_BUILD="False"
82+
fi
83+
echo "::endgroup::"
84+
./.scripts/run_docker_build.sh
85+
86+
- name: Build on macOS
87+
id: build-macos
88+
if: matrix.os == 'macos'
89+
env:
90+
CONFIG: ${{ matrix.CONFIG }}
91+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
92+
CI: github_actions
93+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
94+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
95+
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
96+
shell: bash
97+
run: |
98+
export flow_run_id="github_$GITHUB_RUN_ID"
99+
export remote_url="https://github.com/$GITHUB_REPOSITORY"
100+
export sha="$GITHUB_SHA"
101+
export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
102+
export GIT_BRANCH="$(basename $GITHUB_REF)"
103+
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
104+
export IS_PR_BUILD="True"
105+
else
106+
export IS_PR_BUILD="False"
107+
fi
108+
./.scripts/run_osx_build.sh
109+
110+
- name: Build on windows
111+
id: build-windows
112+
if: matrix.os == 'windows'
113+
shell: cmd
114+
run: |
115+
set "flow_run_id=github_%GITHUB_RUN_ID%"
116+
set "remote_url=https://github.com/%GITHUB_REPOSITORY%"
117+
set "sha=%GITHUB_SHA%"
118+
call ".scripts\run_win_build.bat"
119+
env:
120+
# default value; make it explicit, as it needs to match with artefact
121+
# generation below. Not configurable for now, can be revisited later
122+
CONDA_BLD_DIR: C:\bld
123+
MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
124+
PYTHONUNBUFFERED: 1
125+
CONFIG: ${{ matrix.CONFIG }}
126+
CI: github_actions
127+
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
128+
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
129+
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
130+
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.

0 commit comments

Comments
 (0)