Skip to content

Commit 1a8a606

Browse files
authored
ci(wheels): build the macOS wheel on the macOS 15 runner (#76)
GitHub retires the `macos-14` runner image on 2 November 2026, and its scheduled brownouts already cancel the `wheels / macos` job (#73, #74, #75: "Cancelled after 1s", annotated as a macOS 14 brownout, actions/runner-images#13518). - `.github/workflows/wheels.yml`: the macOS wheel builds on `macos-15` with `MACOSX_DEPLOYMENT_TARGET=15.0`, the oldest macOS its Homebrew gfortran and OpenBLAS bottles support there, so delocate accepts the bundled libraries. The wheel tag becomes `macosx_15_0_arm64` (0.3.0: `macosx_14_0_arm64`). - The installation page, the README and the CHANGELOG (`Changed`) say the macOS wheel needs macOS 15 or newer on Apple silicon; on macOS 14, build from source. No code change. Docs build with warnings as errors locally; the `wheels / macos` job of this PR is the build and smoke test of the new wheel. Signed-off-by: Jae Hoon Seo <jaehoon.seo@inha.ac.kr>
1 parent 357f9eb commit 1a8a606

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎.github/workflows/wheels.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
if-no-files-found: error
9797

9898
macos:
99-
runs-on: macos-14
99+
runs-on: macos-15
100100
steps:
101101
- name: Check out CableDyn
102102
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -112,7 +112,7 @@ jobs:
112112
# deployment target is the runner's macOS, the oldest the Homebrew libraries support.
113113
CIBW_BEFORE_ALL_MACOS: brew install gcc openblas
114114
CIBW_ENVIRONMENT_MACOS: >-
115-
MACOSX_DEPLOYMENT_TARGET=14.0
115+
MACOSX_DEPLOYMENT_TARGET=15.0
116116
FC=gfortran
117117
CMAKE_PREFIX_PATH=$(brew --prefix openblas)
118118
CIBW_TEST_COMMAND: >-

‎CHANGELOG.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ All notable changes to CableDyn are recorded in this file. The format follows
280280

281281
### Changed
282282

283+
- The macOS wheel needs macOS 15 or newer on Apple silicon (0.3.0: macOS 14). It is built on
284+
the macOS 15 runner, as GitHub retires the macOS 14 runner image on 2 November 2026, and its
285+
Homebrew gfortran and OpenBLAS support no older macOS. On macOS 14, build from source.
283286
- With a `motionFile` or `vesselMotion`, the single-line finite-EI route writes `.static.out`
284287
before it installs the first motion row, so the file holds the static solve; before, it showed
285288
the fairlead already moved to row 1. A deck whose row 1 is off the deck fairlead changes

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ a named error rather than running approximately.
8181

8282
4. Optionally, script runs from Python. The package on PyPI carries the solver
8383
library and the driver (wheels for Windows x64 and Linux x86-64 with an AVX2
84-
processor, and macOS on Apple silicon), so nothing else is needed. A relative
84+
processor, and macOS 15 or newer on Apple silicon), so nothing else is needed. A relative
8585
output root is resolved against the deck's folder, so this run writes
8686
`examples\wd0050.out`:
8787

‎doc/installation.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Install it from PyPI (Python 3.10 or newer; NumPy is the only required dependenc
171171
172172
This installs the ``cabledyn`` package and four console commands: ``cabledyn-run``,
173173
``cabledyn-deck``, ``cabledyn-study``, and ``cabledyn-post``. The wheels for Windows x64 and
174-
Linux x86-64 (both for processors with AVX2) and for macOS on Apple silicon carry the solver:
174+
Linux x86-64 (both for processors with AVX2) and for macOS 15 or newer on Apple silicon carry the solver:
175175
the CableDyn shared library and the standalone driver, so the package runs decks without the
176176
release executables. On another platform pip builds from the source distribution, which needs a
177177
Fortran compiler and LAPACK.

0 commit comments

Comments
 (0)