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_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno
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_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes
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_build_typereleasechannel_targetsconda-forge_mainfreethreadingno
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_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes
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_aarch64_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno
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_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes
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_build_typereleasechannel_targetsconda-forge_mainfreethreadingno
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_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes
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_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingno
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_ppc64le_build_typedebugchannel_targetsconda-forge_python_debugfreethreadingyes
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_build_typereleasechannel_targetsconda-forge_mainfreethreadingno
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_build_typereleasechannel_targetsconda-forge_mainfreethreadingyes
81+ UPLOAD_PACKAGES : True
82+ os : ubuntu
83+ runs_on : ['ubuntu-latest']
84+ DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
1485 steps :
15- - run : exit 0
86+
87+ - name : Checkout code
88+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
89+
90+ - name : Build on Linux
91+ id : build-linux
92+ if : matrix.os == 'ubuntu'
93+ env :
94+ CONFIG : ${{ matrix.CONFIG }}
95+ UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
96+ DOCKER_IMAGE : ${{ matrix.DOCKER_IMAGE }}
97+ CI : github_actions
98+ CONDA_FORGE_DOCKER_RUN_ARGS : " ${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
99+ BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
100+ FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
101+ STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
102+ shell : bash
103+ run : |
104+ if [[ "$(uname -m)" == "x86_64" ]]; then
105+ echo "::group::Configure binfmt_misc"
106+ docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
107+ fi
108+ export flow_run_id="github_$GITHUB_RUN_ID"
109+ export remote_url="https://github.com/$GITHUB_REPOSITORY"
110+ export sha="$GITHUB_SHA"
111+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
112+ export GIT_BRANCH="$(basename $GITHUB_REF)"
113+ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
114+ export IS_PR_BUILD="True"
115+ else
116+ export IS_PR_BUILD="False"
117+ fi
118+ echo "::endgroup::"
119+ ./.scripts/run_docker_build.sh
120+
121+ - name : Build on macOS
122+ id : build-macos
123+ if : matrix.os == 'macos'
124+ env :
125+ CONFIG : ${{ matrix.CONFIG }}
126+ UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
127+ CI : github_actions
128+ BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
129+ FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
130+ STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
131+ shell : bash
132+ run : |
133+ export flow_run_id="github_$GITHUB_RUN_ID"
134+ export remote_url="https://github.com/$GITHUB_REPOSITORY"
135+ export sha="$GITHUB_SHA"
136+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
137+ export GIT_BRANCH="$(basename $GITHUB_REF)"
138+ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
139+ export IS_PR_BUILD="True"
140+ else
141+ export IS_PR_BUILD="False"
142+ fi
143+ ./.scripts/run_osx_build.sh
144+
145+ - name : Build on windows
146+ id : build-windows
147+ if : matrix.os == 'windows'
148+ shell : cmd
149+ run : |
150+ set "flow_run_id=github_%GITHUB_RUN_ID%"
151+ set "remote_url=https://github.com/%GITHUB_REPOSITORY%"
152+ set "sha=%GITHUB_SHA%"
153+ call ".scripts\run_win_build.bat"
154+ env :
155+ # default value; make it explicit, as it needs to match with artefact
156+ # generation below. Not configurable for now, can be revisited later
157+ CONDA_BLD_DIR : C:\bld
158+ MINIFORGE_HOME : ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
159+ PYTHONUNBUFFERED : 1
160+ CONFIG : ${{ matrix.CONFIG }}
161+ CI : github_actions
162+ UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
163+ BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
164+ FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
165+ STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
0 commit comments