Upgrade GitHub Actions to Build and Run CTest
Description
Enhance the existing GitHub Actions CI workflow so that every push and pull request runs a full build and test cycle using CMake + GoogleTest + CTest.
This converts CI into a real quality gate and strengthens the project’s DevOps/SRE and QA/SDET signal.
Triggers
CI Jobs
Build and Test (Matrix)
- Operating systems:
- Ubuntu (required)
- Windows (recommended)
- macOS (recommended)
Steps
- Checkout repository
- Install dependencies (Qt, compiler toolchain)
- Configure project with CMake
- Build project
- Run:
ctest --output-on-failure
Deliverables
- Updated GitHub Actions workflow YAML
- CI that fails on build or test failure
- Clear logs for build and test stages
Acceptance Criteria
- CI fails if any test fails
- Test failures are visible in workflow logs
- No manual steps required for CI execution
- Workflow runs reproducibly across OSes
Optional Enhancements
- Cache build artifacts or dependencies
- Upload test logs as artifacts on failure
- Add CI status badge to README
Notes
- Keep workflow readable and well-commented
- Avoid unnecessary complexity in early iterations
Upgrade GitHub Actions to Build and Run CTest
Description
Enhance the existing GitHub Actions CI workflow so that every push and pull request runs a full build and test cycle using CMake + GoogleTest + CTest.
This converts CI into a real quality gate and strengthens the project’s DevOps/SRE and QA/SDET signal.
Triggers
pushpull_requestCI Jobs
Build and Test (Matrix)
Steps
Deliverables
Acceptance Criteria
Optional Enhancements
Notes