Skip to content

Actions: Add MacOS and Windows tests#112

Merged
dwpaley merged 2 commits into
mainfrom
ci/cross-platform-1780342450
Jun 1, 2026
Merged

Actions: Add MacOS and Windows tests#112
dwpaley merged 2 commits into
mainfrom
ci/cross-platform-1780342450

Conversation

@dwpaley
Copy link
Copy Markdown
Collaborator

@dwpaley dwpaley commented Jun 1, 2026

Draft PR to run new tests

Adds two GitHub Actions workflows that build and test cbflib on
macOS and Windows alongside the existing Linux CI, using the same
triggers (push to main, PRs, manual dispatch, and the weekly schedule).

- cmake_macos.yml: CMake build + ctest on macos-latest. Installs the
  toolchain via Homebrew, points CMake at Homebrew's versioned gfortran,
  and provides numpy for the pycbf tests.
- msys2_windows.yml: CMake build + ctest on windows-latest under
  MSYS2/UCRT64. Builds with Unix Makefiles (SWIG-Java outputs are not
  Ninja-friendly), disables HDF5 _Float16 (FLT16_MAX unavailable on
  mingw), pins the UCRT64 Python so the mingw-built _pycbf.pyd loads,
  and caches MSYS2 packages + ccache to keep runs fast.

Both suites pass 198/198.
@dwpaley dwpaley force-pushed the ci/cross-platform-1780342450 branch from bcd5e47 to a565bb3 Compare June 1, 2026 22:35
@dwpaley dwpaley marked this pull request as ready for review June 1, 2026 23:30
@dwpaley dwpaley requested a review from phyy-nx June 1, 2026 23:30
@dwpaley dwpaley merged commit 78fa695 into main Jun 1, 2026
4 checks passed
@dwpaley dwpaley deleted the ci/cross-platform-1780342450 branch June 1, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant