Skip to content

Commit fa85cb9

Browse files
ci: apparently those env vars dont work, try setting them in pyproject.toml
1 parent a02be6f commit fa85cb9

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/wheels.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,6 @@ jobs:
6969
run: cmake -G "Unix Makefiles" -B build -DCMAKE_BUILD_TYPE=Release -DSOURCEPP_BUILD_PYTHON_WRAPPERS=ON -DSOURCEPP_VERSION="${{inputs.version}}"
7070

7171
- name: Build BDist
72-
env:
73-
CIBW_MANYLINUX_x86_64_IMAGE: 'manylinux_2_34'
74-
CIBW_MANYLINUX_pypy_x86_64_IMAGE: 'manylinux_2_34'
75-
CIBW_MANYLINUX_i686_IMAGE: 'manylinux_2_34'
76-
CIBW_MANYLINUX_pypy_i686_IMAGE: 'manylinux_2_34'
77-
CIBW_MANYLINUX_aarch64_IMAGE: 'manylinux_2_34'
78-
CIBW_MANYLINUX_pypy_aarch64_IMAGE: 'manylinux_2_34'
79-
CIBW_MANYLINUX_ppc64le_IMAGE: 'manylinux_2_34'
80-
CIBW_MANYLINUX_s390x_IMAGE: 'manylinux_2_34'
8172
run: |
8273
python -m pip install cibuildwheel==2.23.3
8374
python -m cibuildwheel --output-dir dist

lang/python/cfg/pyproject.toml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,16 @@ build-verbosity = 1
4646
#test-command = "pytest {project}/test"
4747
#test-requires = "pytest"
4848

49+
[tool.cibuildwheel.linux]
50+
manylinux_x86_64-image = 'manylinux_2_34'
51+
manylinux-pypy_x86_64-image = 'manylinux_2_34'
52+
manylinux-i686-image = 'manylinux_2_34'
53+
manylinux-pypy_i686-image = 'manylinux_2_34'
54+
manylinux-aarch64-image = 'manylinux_2_34'
55+
manylinux-pypy_aarch64-image = 'manylinux_2_34'
56+
manylinux-ppc64le-image = 'manylinux_2_34'
57+
manylinux-s390x-image = 'manylinux_2_34'
58+
manylinux-riscv64-image = 'manylinux_2_39'
59+
4960
[tool.cibuildwheel.macos]
5061
archs = ["arm64"]
51-
52-
[tool.cibuildwheel.macos.environment]
53-
MACOSX_DEPLOYMENT_TARGET = "14.7"

0 commit comments

Comments
 (0)