Skip to content

build: ci matrix (linux asan container + windows native mingw) - #5

Merged
AgentDudu merged 1 commit into
developfrom
feature/ci-matrix
Oct 20, 2026
Merged

AgentDudu merged 1 commit into
developfrom
feature/ci-matrix

Conversation

@AgentDudu

Copy link
Copy Markdown
Owner

What

  • .github/workflows/ci.yml: runs on PR to develop and push to develop.
  • linux-asan: builds tools/Dockerfile.asan (same image as local gate), runs tools/asan-inside.sh → full-tree ASan+UBSan build + ctest.
  • windows-native: finds MinGW (msys64/mingw64 or C:/mingw64), Ninja if on PATH else MinGW Makefiles, -static link, ctest.
  • tools/asan-inside.sh shared by local ck asan-docker and CI → one source of truth.
  • .gitattributes: *.sh eol=lf (autocrlf was writing CRLF shell scripts; container bash landmine).

Why now

Milestone C before the reactor: concurrent code needs every PR gated on both OSes, not one laptop.

Tests

  • Local: container gate green via the refactored script (ctest inside container).
  • This PR is the CI's first live run — expect possible runner quirks (MinGW location, generator); will iterate.

…gw gate

Linux job reuses tools/Dockerfile.asan + shared tools/asan-inside.sh, same commands as local ck asan-docker. Windows job locates MinGW on the runner, -static so tests need no DLL path. .sh forced eol=lf (container bash vs autocrlf landmine).
@AgentDudu
AgentDudu merged commit 728d243 into develop Oct 20, 2026
2 checks passed
@AgentDudu
AgentDudu deleted the feature/ci-matrix branch October 20, 2026 08:04
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