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
55name : Build conda package
66on :
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
915jobs :
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
50+ - CONFIG : linux_aarch64_python3.10.____cpython
51+ UPLOAD_PACKAGES : True
52+ os : ubuntu
53+ runs_on : ['ubuntu-latest']
54+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
55+ - CONFIG : linux_aarch64_python3.11.____cpython
56+ UPLOAD_PACKAGES : True
57+ os : ubuntu
58+ runs_on : ['ubuntu-latest']
59+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
60+ - CONFIG : linux_aarch64_python3.12.____cpython
61+ UPLOAD_PACKAGES : True
62+ os : ubuntu
63+ runs_on : ['ubuntu-latest']
64+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
65+ - CONFIG : linux_aarch64_python3.13.____cp313
66+ UPLOAD_PACKAGES : True
67+ os : ubuntu
68+ runs_on : ['ubuntu-latest']
69+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
70+ - CONFIG : linux_aarch64_python3.14.____cp314
71+ UPLOAD_PACKAGES : True
72+ os : ubuntu
73+ runs_on : ['ubuntu-latest']
74+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
75+ - CONFIG : linux_ppc64le_python3.10.____cpython
76+ UPLOAD_PACKAGES : True
77+ os : ubuntu
78+ runs_on : ['ubuntu-latest']
79+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
80+ - CONFIG : linux_ppc64le_python3.11.____cpython
81+ UPLOAD_PACKAGES : True
82+ os : ubuntu
83+ runs_on : ['ubuntu-latest']
84+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
85+ - CONFIG : linux_ppc64le_python3.12.____cpython
86+ UPLOAD_PACKAGES : True
87+ os : ubuntu
88+ runs_on : ['ubuntu-latest']
89+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
90+ - CONFIG : linux_ppc64le_python3.13.____cp313
91+ UPLOAD_PACKAGES : True
92+ os : ubuntu
93+ runs_on : ['ubuntu-latest']
94+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
95+ - CONFIG : linux_ppc64le_python3.14.____cp314
96+ UPLOAD_PACKAGES : True
97+ os : ubuntu
98+ runs_on : ['ubuntu-latest']
99+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
14100 steps :
15- - run : exit 0
101+
102+ - name : Checkout code
103+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
104+
105+ - name : Build on Linux
106+ id : build-linux
107+ if : matrix.os == 'ubuntu'
108+ env :
109+ CONFIG : ${{ matrix.CONFIG }}
110+ UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
111+ DOCKER_IMAGE : ${{ matrix.DOCKER_IMAGE }}
112+ CI : github_actions
113+ CONDA_FORGE_DOCKER_RUN_ARGS : " ${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
114+ BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
115+ FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
116+ STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
117+ shell : bash
118+ run : |
119+ if [[ "$(uname -m)" == "x86_64" ]]; then
120+ echo "::group::Configure binfmt_misc"
121+ docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
122+ fi
123+ export flow_run_id="github_$GITHUB_RUN_ID"
124+ export remote_url="https://github.com/$GITHUB_REPOSITORY"
125+ export sha="$GITHUB_SHA"
126+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
127+ export GIT_BRANCH="$(basename $GITHUB_REF)"
128+ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
129+ export IS_PR_BUILD="True"
130+ else
131+ export IS_PR_BUILD="False"
132+ fi
133+ echo "::endgroup::"
134+ ./.scripts/run_docker_build.sh
135+
136+ - name : Build on macOS
137+ id : build-macos
138+ if : matrix.os == 'macos'
139+ env :
140+ CONFIG : ${{ matrix.CONFIG }}
141+ UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
142+ CI : github_actions
143+ BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
144+ FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
145+ STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
146+ shell : bash
147+ run : |
148+ export flow_run_id="github_$GITHUB_RUN_ID"
149+ export remote_url="https://github.com/$GITHUB_REPOSITORY"
150+ export sha="$GITHUB_SHA"
151+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
152+ export GIT_BRANCH="$(basename $GITHUB_REF)"
153+ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
154+ export IS_PR_BUILD="True"
155+ else
156+ export IS_PR_BUILD="False"
157+ fi
158+ ./.scripts/run_osx_build.sh
159+
160+ - name : Build on windows
161+ id : build-windows
162+ if : matrix.os == 'windows'
163+ shell : cmd
164+ run : |
165+ set "flow_run_id=github_%GITHUB_RUN_ID%"
166+ set "remote_url=https://github.com/%GITHUB_REPOSITORY%"
167+ set "sha=%GITHUB_SHA%"
168+ call ".scripts\run_win_build.bat"
169+ env :
170+ # default value; make it explicit, as it needs to match with artefact
171+ # generation below. Not configurable for now, can be revisited later
172+ CONDA_BLD_DIR : C:\bld
173+ MINIFORGE_HOME : ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
174+ PYTHONUNBUFFERED : 1
175+ CONFIG : ${{ matrix.CONFIG }}
176+ CI : github_actions
177+ UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
178+ BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
179+ FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
180+ STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
0 commit comments