@@ -23,55 +23,95 @@ jobs:
2323 matrix :
2424 include :
2525 - CONFIG : linux_64_python3.10.____cpython
26+ STORE_BUILD_ARTIFACTS : False
2627 UPLOAD_PACKAGES : True
2728 os : ubuntu
2829 runs_on : ['ubuntu-latest']
2930 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
31+ tools_install_dir : ~/miniforge3
32+ build_workspace_dir : build_artifacts
33+ docker_run_args :
3034 - CONFIG : linux_64_python3.11.____cpython
35+ STORE_BUILD_ARTIFACTS : False
3136 UPLOAD_PACKAGES : True
3237 os : ubuntu
3338 runs_on : ['ubuntu-latest']
3439 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
40+ tools_install_dir : ~/miniforge3
41+ build_workspace_dir : build_artifacts
42+ docker_run_args :
3543 - CONFIG : linux_64_python3.12.____cpython
44+ STORE_BUILD_ARTIFACTS : False
3645 UPLOAD_PACKAGES : True
3746 os : ubuntu
3847 runs_on : ['ubuntu-latest']
3948 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
49+ tools_install_dir : ~/miniforge3
50+ build_workspace_dir : build_artifacts
51+ docker_run_args :
4052 - CONFIG : linux_64_python3.13.____cp313
53+ STORE_BUILD_ARTIFACTS : False
4154 UPLOAD_PACKAGES : True
4255 os : ubuntu
4356 runs_on : ['ubuntu-latest']
4457 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
58+ tools_install_dir : ~/miniforge3
59+ build_workspace_dir : build_artifacts
60+ docker_run_args :
4561 - CONFIG : linux_64_python3.14.____cp314
62+ STORE_BUILD_ARTIFACTS : False
4663 UPLOAD_PACKAGES : True
4764 os : ubuntu
4865 runs_on : ['ubuntu-latest']
4966 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
67+ tools_install_dir : ~/miniforge3
68+ build_workspace_dir : build_artifacts
69+ docker_run_args :
5070 - CONFIG : linux_aarch64_python3.10.____cpython
71+ STORE_BUILD_ARTIFACTS : False
5172 UPLOAD_PACKAGES : True
5273 os : ubuntu
5374 runs_on : ['ubuntu-latest']
5475 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
76+ tools_install_dir : ~/miniforge3
77+ build_workspace_dir : build_artifacts
78+ docker_run_args :
5579 - CONFIG : linux_aarch64_python3.11.____cpython
80+ STORE_BUILD_ARTIFACTS : False
5681 UPLOAD_PACKAGES : True
5782 os : ubuntu
5883 runs_on : ['ubuntu-latest']
5984 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
85+ tools_install_dir : ~/miniforge3
86+ build_workspace_dir : build_artifacts
87+ docker_run_args :
6088 - CONFIG : linux_aarch64_python3.12.____cpython
89+ STORE_BUILD_ARTIFACTS : False
6190 UPLOAD_PACKAGES : True
6291 os : ubuntu
6392 runs_on : ['ubuntu-latest']
6493 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
94+ tools_install_dir : ~/miniforge3
95+ build_workspace_dir : build_artifacts
96+ docker_run_args :
6597 - CONFIG : linux_aarch64_python3.13.____cp313
98+ STORE_BUILD_ARTIFACTS : False
6699 UPLOAD_PACKAGES : True
67100 os : ubuntu
68101 runs_on : ['ubuntu-latest']
69102 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
103+ tools_install_dir : ~/miniforge3
104+ build_workspace_dir : build_artifacts
105+ docker_run_args :
70106 - CONFIG : linux_aarch64_python3.14.____cp314
107+ STORE_BUILD_ARTIFACTS : False
71108 UPLOAD_PACKAGES : True
72109 os : ubuntu
73110 runs_on : ['ubuntu-latest']
74111 DOCKER_IMAGE : quay.io/condaforge/linux-anvil-x86_64:alma9
112+ tools_install_dir : ~/miniforge3
113+ build_workspace_dir : build_artifacts
114+ docker_run_args :
75115 steps :
76116
77117 - name : Checkout code
@@ -81,11 +121,13 @@ jobs:
81121 id : build-linux
82122 if : matrix.os == 'ubuntu'
83123 env :
124+ MINIFORGE_HOME : ${{ matrix.tools_install_dir }}
125+ CONDA_BLD_PATH : ${{ matrix.build_workspace_dir }}
84126 CONFIG : ${{ matrix.CONFIG }}
85127 UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
86128 DOCKER_IMAGE : ${{ matrix.DOCKER_IMAGE }}
87129 CI : github_actions
88- CONDA_FORGE_DOCKER_RUN_ARGS : " ${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
130+ CONDA_FORGE_DOCKER_RUN_ARGS : " ${{ matrix.docker_run_args }}"
89131 BINSTAR_TOKEN : ${{ secrets.BINSTAR_TOKEN }}
90132 FEEDSTOCK_TOKEN : ${{ secrets.FEEDSTOCK_TOKEN }}
91133 STAGING_BINSTAR_TOKEN : ${{ secrets.STAGING_BINSTAR_TOKEN }}
@@ -105,13 +147,17 @@ jobs:
105147 else
106148 export IS_PR_BUILD="False"
107149 fi
150+ export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
151+ export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
108152 echo "::endgroup::"
109153 ./.scripts/run_docker_build.sh
110154
111155 - name : Build on macOS
112156 id : build-macos
113157 if : matrix.os == 'macos'
114158 env :
159+ MINIFORGE_HOME : ${{ matrix.tools_install_dir }}
160+ CONDA_BLD_PATH : ${{ matrix.build_workspace_dir }}
115161 CONFIG : ${{ matrix.CONFIG }}
116162 UPLOAD_PACKAGES : ${{ matrix.UPLOAD_PACKAGES }}
117163 CI : github_actions
@@ -130,6 +176,8 @@ jobs:
130176 else
131177 export IS_PR_BUILD="False"
132178 fi
179+ export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
180+ export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
133181 ./.scripts/run_osx_build.sh
134182
135183 - name : Build on windows
@@ -142,10 +190,8 @@ jobs:
142190 set "sha=%GITHUB_SHA%"
143191 call ".scripts\run_win_build.bat"
144192 env :
145- # default value; make it explicit, as it needs to match with artefact
146- # generation below. Not configurable for now, can be revisited later
147- CONDA_BLD_DIR : C:\bld
148- MINIFORGE_HOME : ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
193+ MINIFORGE_HOME : ${{ matrix.tools_install_dir }}
194+ CONDA_BLD_PATH : ${{ matrix.build_workspace_dir }}
149195 PYTHONUNBUFFERED : 1
150196 CONFIG : ${{ matrix.CONFIG }}
151197 CI : github_actions
0 commit comments