Skip to content

fix: restore Linux and macOS CI builds#8

Draft
LoogLong wants to merge 4 commits into
mainfrom
cursor/fix-ci-build-99e4
Draft

fix: restore Linux and macOS CI builds#8
LoogLong wants to merge 4 commits into
mainfrom
cursor/fix-ci-build-99e4

Conversation

@LoogLong

@LoogLong LoogLong commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes failing GitHub Actions builds on Linux and macOS after recent runner/toolchain updates (Clang 19+, CMake 4.x, Xcode 26).

Root causes

Platform Issue
Linux Jolt Core.h missing <cstdint>; reflection.cpp missing <algorithm>; VMA snprintf without <cstdio>
macOS tinyobjloader CMake 3.2 unsupported; build_macos.sh used " Debug"/" Release" (leading space → wrong Xcode config); sol2 optional<T&>::emplace incompatible with newer libc++; Jolt -Wnontrivial-memcall

Changes

  • Add missing standard library includes (cstdint, algorithm, cstdio)
  • Bump tinyobjloader CMake minimum to 3.5
  • Fix build_macos.sh Xcode configuration names
  • Patch sol2 optional<T&>::emplace (Conan upstream patch)
  • Suppress -Wnontrivial-memcall for Jolt on Clang
  • Install documented Linux CI dependencies; update checkout to v4

Verification

All 6 CI jobs pass on this PR (Linux/macOS/Windows × debug/release).

Open in Web Open in Cursor 

cursoragent and others added 4 commits July 7, 2026 07:31
- Include <cstdint> in Jolt Core.h so uint8_t/uint32_t are available on
  newer Clang/libc++ combinations used by GitHub Actions runners.
- Raise tinyobjloader CMake minimum to 3.5 for compatibility with CMake 4.
- Install documented Linux build dependencies (clang, libc++-dev, libxrender-dev).
- Pass CMAKE_POLICY_VERSION_MINIMUM in build_macos.sh for legacy CMake projects.
- Update GitHub Actions checkout action to v4.

Co-authored-by: wenlong li <LoogLong@users.noreply.github.com>
- Include <algorithm> in reflection.cpp for std::find_if.
- Suppress -Wnontrivial-memcall for Jolt on Clang (Xcode 26+).

Co-authored-by: wenlong li <LoogLong@users.noreply.github.com>
- Remove stray leading spaces in build_macos.sh Xcode config names.
- Patch sol2 optional<T&>::emplace for newer libc++/Clang (Xcode 26+).

Co-authored-by: wenlong li <LoogLong@users.noreply.github.com>
Co-authored-by: wenlong li <LoogLong@users.noreply.github.com>
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.

2 participants