Skip to content

Sync master fixes into dev and separate CI from release publishing - #52

Merged
sunxfancy merged 19 commits into
devfrom
codex/dev-ci-release-flow
Oct 30, 2026
Merged

sunxfancy merged 19 commits into
devfrom
codex/dev-ci-release-flow

Conversation

@sunxfancy

@sunxfancy sunxfancy commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Ordinary changes now target dev; only this repository’s dev branch may open a release promotion PR to master. This PR merges the existing master fixes into dev while retaining dev’s per-test coverage and concurrent logging changes.

  • Replace the serial, non-fail-fast build script in CI with reusable platform, compatibility, coverage, sanitizer, and option-matrix jobs, plus a required CI result summary. Every configuration explicitly enables tests.
  • Add a metadata-only PR target check and a tag/manual Release workflow. Releases validate master ancestry and matching version macros, test an immutable SHA (Debug and Release on Linux, Windows, macOS), revalidate the tag, then publish the single header, source archives, and checksums. Existing releases are not overwritten.
  • Fix CMake’s color option parsing and guard the runtime color toggle in fixed-color builds, exposed by the real option matrix. Regenerate the single header and update documentation actions.
  • Account for libstdc++ C++20 <memory> transitive headers in lightweight checks, preserving the standalone String guard. Fix the bundled benchmark fmt checker to share the parser’s string view during Clang C++20 constant evaluation, retaining compile-time format validation.
  • Document development, promotion, and release steps in Chinese and English.

Validation: Linux GCC Debug full suite (13/13); Clang 19 coverage suite (14/14); GCC C++11 Release with color/thread/auto-init all OFF (12/12) and all ON (13/13); GCC and Clang 19 C++20 Release suites (13/13 each); header and format negative controls; 7 release regression tests; actionlint and git diff --check pass. GitHub Actions on final commit 1bbba4d: all 25 CI jobs passed, including the summary gate, and PR target policy passed. Run: https://github.com/sunxfancy/zeroerr/actions/runs/41029541794. Release publication itself is intentionally not triggered by this PR.

Repository setup after merge: set the default branch to dev, require PR target and CI result on dev/master, and merge a dev→master promotion PR to install release workflows on master. The current connector cannot change repository administration settings; workflow checks alone do not enforce branch protection.

test: protect character smart-pointer diagnostics and prepare 0.4.1
Own fixture identity and assertion includes in the canonical test header
Make strict assertion failures and single operand evaluation canonical
…-cpp11

Fix domain and serialization correctness and restore C++11 compatibility
# Conflicts:
#	src/unittest.cpp
#	test/CMakeLists.txt
#	zeroerr.hpp
@sunxfancy
sunxfancy merged commit 002a5d5 into dev Oct 30, 2026
28 checks passed
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