18
18
19
19
# Set options available for all jobs that use cibuildwheel
20
20
env :
21
+ PYBAMM_DISABLE_TELEMETRY : " true"
21
22
# Increase pip debugging output, equivalent to `pip -vv`
22
23
CIBW_BUILD_VERBOSITY : 2
23
24
# Disable build isolation to allow pre-installing build-time dependencies.
75
76
run : pipx run cibuildwheel --output-dir wheelhouse
76
77
env :
77
78
CIBW_ENVIRONMENT : >
79
+ PYBAMM_DISABLE_TELEMETRY="true"
78
80
PYBAMM_USE_VCPKG=ON
79
81
VCPKG_ROOT_DIR=C:\vcpkg
80
82
VCPKG_DEFAULT_TRIPLET=x64-windows-static-md
92
94
python -c "import pybamm; print(pybamm.IDAKLUSolver())"
93
95
python -m pytest -m cibw {project}/tests/unit
94
96
- name : Upload Windows wheels
95
- uses : actions/upload-artifact@v4.3.6
97
+ uses : actions/upload-artifact@v4.4.3
96
98
with :
97
99
name : wheels_windows
98
100
path : ./wheelhouse/*.whl
@@ -116,6 +118,8 @@ jobs:
116
118
- name : Build wheels on Linux
117
119
run : pipx run cibuildwheel --output-dir wheelhouse
118
120
env :
121
+ CIBW_ENVIRONMENT : >
122
+ PYBAMM_DISABLE_TELEMETRY="true"
119
123
CIBW_ARCHS_LINUX : x86_64
120
124
CIBW_BEFORE_ALL_LINUX : >
121
125
yum -y install openblas-devel lapack-devel &&
@@ -129,7 +133,7 @@ jobs:
129
133
python -m pytest -m cibw {project}/tests/unit
130
134
131
135
- name : Upload wheels for Linux
132
- uses : actions/upload-artifact@v4.3.6
136
+ uses : actions/upload-artifact@v4.4.3
133
137
with :
134
138
name : wheels_manylinux
135
139
path : ./wheelhouse/*.whl
@@ -242,7 +246,9 @@ jobs:
242
246
python scripts/install_KLU_Sundials.py
243
247
python -m cibuildwheel --output-dir wheelhouse
244
248
env :
245
- # 10.13 for Intel (macos-12/macos-13), 11.0 for Apple Silicon (macos-14 and macos-latest)
249
+ CIBW_ENVIRONMENT : >
250
+ PYBAMM_DISABLE_TELEMETRY="true"
251
+ # 10.13 for Intel (macos-13), 11.0 for Apple Silicon (macos-14 and macos-latest)
246
252
MACOSX_DEPLOYMENT_TARGET : ${{ matrix.os == 'macos-14' && '11.0' || '10.13' }}
247
253
CIBW_ARCHS_MACOS : auto
248
254
CIBW_BEFORE_BUILD : python -m pip install cmake casadi setuptools wheel delocate
@@ -261,7 +267,7 @@ jobs:
261
267
python -m pytest -m cibw {project}/tests/unit
262
268
263
269
- name : Upload wheels for macOS (amd64, arm64)
264
- uses : actions/upload-artifact@v4.3.6
270
+ uses : actions/upload-artifact@v4.4.3
265
271
with :
266
272
name : wheels_${{ matrix.os }}
267
273
path : ./wheelhouse/*.whl
@@ -281,7 +287,7 @@ jobs:
281
287
run : pipx run build --sdist
282
288
283
289
- name : Upload SDist
284
- uses : actions/upload-artifact@v4.3.6
290
+ uses : actions/upload-artifact@v4.4.3
285
291
with :
286
292
name : sdist
287
293
path : ./dist/*.tar.gz
0 commit comments