Skip to content

Commit f667823

Browse files
authored
Update macos deployment version for release builds (#291)
1 parent db15652 commit f667823

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
run: brew install gfortran
4343
if: ${{ matrix.os == 'macos-14' }}
4444
- uses: pypa/cibuildwheel@v2.18.1
45+
env:
46+
MACOSX_DEPLOYMENT_TARGET: "${{ matrix.os == 'macos-12' && '12.0' || '14.0' }}"
4547
- uses: actions/upload-artifact@v4
4648
with:
4749
name: binary-${{ matrix.os }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ write_to = "src/fsps/fsps_version.py"
4545

4646
[tool.cibuildwheel]
4747
skip = "pp* *-win32 *-musllinux_* *-manylinux_i686"
48-
test-command = "python {project}/tests/simple.py"
48+
test-command = "SPS_HOME={project}/src/fsps/libfsps python {project}/tests/simple.py"
4949
environment = { SPS_HOME = "$(pwd)/src/fsps/libfsps" }
5050

5151
[tool.black]

0 commit comments

Comments
 (0)