Skip to content

Add GitHub Actions CI workflow (8-build matrix)#4

Merged
eisenwave merged 2 commits into
mainfrom
copilot/add-github-actions-workflow
May 7, 2026
Merged

Add GitHub Actions CI workflow (8-build matrix)#4
eisenwave merged 2 commits into
mainfrom
copilot/add-github-actions-workflow

Conversation

Copilot AI commented May 7, 2026

Copy link
Copy Markdown
Contributor

Adds CI via GitHub Actions covering GCC, Clang, Clang+libc++, and MSVC × Debug/Release.

Matrix (8 builds)

Compiler Debug Release OS
GCC ubuntu-latest
Clang ubuntu-latest
Clang + libc++ ubuntu-latest
MSVC windows-latest

Notable implementation details

  • fail-fast: false — all 8 jobs run regardless of individual failures
  • Clang + libc++: sets both CMAKE_C_COMPILER=clang and CMAKE_CXX_COMPILER=clang++; CMake applies EXE_LINKER_FLAGS to the C compiler detection test, so both must be clang or configure fails
  • MSVC: uses the default Visual Studio multi-config generator — no CMAKE_BUILD_TYPE at configure time; build type passed via --config at build time, binary at build\<config>\test.exe
  • Linux builds validated locally before commit

@eisenwave eisenwave marked this pull request as ready for review May 7, 2026 17:45
@eisenwave eisenwave merged commit 72eb940 into main May 7, 2026
16 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.

2 participants