Skip to content

Fix CI configure with CMake 4 and current Windows runners - #13

Merged
sobolevnrm merged 2 commits into
masterfrom
fix/ci-cmake4
Oct 25, 2026
Merged

sobolevnrm merged 2 commits into
masterfrom
fix/ci-cmake4

Conversation

@sobolevnrm

Copy link
Copy Markdown
Member

Summary

Fixes #11.

  • Updates googletest from v1.11.0 to v1.12.1, the last release that supports C++11 (this project builds with -std=c++11). Its cmake_minimum_required(VERSION 3.5) is accepted by CMake 4, so the macOS configure works again.
  • Removes -G "Visual Studio 16 2019" from the Windows configure, because windows-latest no longer has VS 2019. CMake now selects the installed Visual Studio; -A Win32 is kept so the x86 vcpkg dependencies still match.
  • Updates actions/checkout@master to @v5 and microsoft/[email protected] to @v2.

googletest is fetched only when ENABLE_PB_TESTING=ON, so APBS builds of PBAM/PBSAM are unaffected.

Testing

  • macOS with CMake 4.4.4 and no policy override: configure and build succeeded; pbamtest passed 160 tests and pbsamtest passed 102.

Nathan Baker and others added 2 commits October 25, 2026 13:20
Update googletest to v1.12.1, the last release supporting C++11, whose
CMake minimum (3.5) is accepted by CMake 4. Stop forcing the Visual
Studio 2019 generator, which windows-latest no longer provides, and
update the checkout and setup-msbuild actions.

Fixes #11

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 3eaf20ea-3ac0-4701-958f-28527bf641fc
The test step only looked for build/bin/pbamtest, so the Windows
Release/*.exe binaries were silently skipped.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 3eaf20ea-3ac0-4701-958f-28527bf641fc
@sobolevnrm
sobolevnrm merged commit bb9298f into master Oct 25, 2026
7 checks passed
@sobolevnrm
sobolevnrm deleted the fix/ci-cmake4 branch October 25, 2026 20:44
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.

CI configure fails on macOS (old googletest) and Windows (VS 2019 generator)

1 participant