milvus/.github
Xiaofan 7dbe7e89d1
enhance: use RelWithDebInfo build type for CI to reduce peak compiler memory (#48154)
## Summary
Switch CI pipelines from Release (`-O3`) to RelWithDebInfo (`-O2 -g
-DNDEBUG`), reducing peak compiler memory by ~15%. RelWithDebInfo is a
standard CMake build type that uses `-O2` natively and includes debug
symbols for better crash diagnostics in CI. Production image builds
remain at Release (`-O3`).

## Changes
- Update Jenkins (PR, PR-Arm, PR-for-go-sdk, UT-CPP) to use
`mode=RelWithDebInfo`
- Update GitHub Actions (`main.yaml`) to use `mode=RelWithDebInfo`
- Allow all standard CMake build types in `3rdparty_build.sh` validation
- Add gcc>=13 implicit include workaround in `CMakeLists.txt`

## Test plan
- [ ] CI builds with `mode=RelWithDebInfo` use `-O2` instead of `-O3`
- [ ] Default builds still use Release with `-O3`
- [ ] ASAN CI jobs pass with reduced memory usage

issue: #48400

Signed-off-by: xiaofan-luan <xiaofan.xl@zilliz.com>
Signed-off-by: xiaofanluan <xiaofan.luan@zilliz.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 13:17:26 +08:00
..
ISSUE_TEMPLATE enhance: [skip e2e]add agentic bug report issue template (#47615) 2026-02-07 01:45:50 +08:00
actions fix: fix macOS 15 ARM64 compilation issues (#7437) (#47810) 2026-03-06 23:19:21 +08:00
workflows enhance: use RelWithDebInfo build type for CI to reduce peak compiler memory (#48154) 2026-03-20 13:17:26 +08:00
.licenserc.yaml
OWNERS
mergify.yml
stale.yml