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 : win_64_
26+ STORE_BUILD_ARTIFACTS : False
27+ UPLOAD_PACKAGES : True
28+ build_platform : win-64
29+ build_workspace_dir : D:\\bld\\
30+ docker_run_args :
31+ free_disk_space : skip
32+ os : windows
33+ pagefile_size : 0
34+ resize_partitions : False
35+ runs_on : ['windows-2022']
36+ tools_install_dir : D:\Miniforge
1437 steps :
15- - run : exit 0
38+
39+ - name : Checkout code
40+ uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
41+ - name : Configure binfmt_misc
42+ if : matrix.os == 'ubuntu'
43+ shell : bash
44+ run : |
45+ if [[ "$(uname -m)" == "x86_64" ]]; then
46+ docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
47+ fi
48+
49+ - name : Build on Linux
50+ id : build-linux
51+ if : matrix.os == 'ubuntu'
52+ env :
53+ CI : github_actions
54+ CONDA_BLD_PATH : ${{ matrix.build_workspace_dir }}
55+ CONDA_FORGE_DOCKER_RUN_ARGS : ${{ matrix.docker_run_args }}
56+ CONFIG : ${{ matrix.CONFIG }}
57+ MINIFORGE_HOME : ${{ matrix.tools_install_dir }}
58+ DOCKER_IMAGE : ${{ matrix.DOCKER_IMAGE }}
59+ UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
60+ RATTLER_BUILD_COLOR : always
61+ RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION : ' true'
62+ BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
63+ FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
64+ STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
65+ shell : bash
66+ run : |
67+ export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
68+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
69+ export GIT_BRANCH="${GITHUB_REF_NAME}"
70+ export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
71+ export flow_run_id="github_$GITHUB_RUN_ID"
72+ export remote_url="https://github.com/$GITHUB_REPOSITORY"
73+ export sha="$GITHUB_SHA"
74+ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
75+ export IS_PR_BUILD="True"
76+ else
77+ export IS_PR_BUILD="False"
78+ fi
79+ ./.scripts/run_docker_build.sh
80+
81+ - name : Build on macOS
82+ id : build-macos
83+ if : matrix.os == 'macos'
84+ env :
85+ CI : github_actions
86+ CONDA_BLD_PATH : ${{ matrix.build_workspace_dir }}
87+ CONFIG : ${{ matrix.CONFIG }}
88+ MINIFORGE_HOME : ${{ matrix.tools_install_dir }}
89+ UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
90+ RATTLER_BUILD_COLOR : always
91+ RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION : ' true'
92+ BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
93+ FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
94+ STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
95+ shell : bash
96+ run : |
97+ export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
98+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
99+ export GIT_BRANCH="${GITHUB_REF_NAME}"
100+ export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
101+ export flow_run_id="github_$GITHUB_RUN_ID"
102+ export remote_url="https://github.com/$GITHUB_REPOSITORY"
103+ export sha="$GITHUB_SHA"
104+ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
105+ export IS_PR_BUILD="True"
106+ else
107+ export IS_PR_BUILD="False"
108+ fi
109+ ./.scripts/run_osx_build.sh
110+
111+ - name : Build on windows
112+ id : build-windows
113+ if : matrix.os == 'windows'
114+ shell : cmd
115+ run : |
116+ set "flow_run_id=github_%GITHUB_RUN_ID%"
117+ set "remote_url=https://github.com/%GITHUB_REPOSITORY%"
118+ set "sha=%GITHUB_SHA%"
119+ call ".scripts\run_win_build.bat"
120+ env :
121+ BUILD_PLATFORM : ${{ matrix.build_platform }}
122+ CI : github_actions
123+ CONDA_BLD_PATH : ${{ matrix.build_workspace_dir }}
124+ CONFIG : ${{ matrix.CONFIG }}
125+ MINIFORGE_HOME : ${{ matrix.tools_install_dir }}
126+ PYTHONUNBUFFERED : 1
127+ UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
128+ RATTLER_BUILD_COLOR : always
129+ RATTLER_BUILD_ENABLE_GITHUB_INTEGRATION : ' true'
130+ BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
131+ FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
132+ STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
0 commit comments