mirror of
https://github.com/espressif/openthread.git
synced 2026-11-11 00:41:01 +00:00
This commit migrates GitHub Actions macOS workflow jobs from `macos-14` to `macos-15`. It also removes the `unifdefall` preprocessing step when generating `openthread-mbedtls-config.h` in `third_party/mbedtls/CMakeLists.txt` and always copies `mbedtls-config.h` directly: - On Ubuntu and `macos-14`, `unifdef` was either not installed or older than 2.10, so CMake always used the `configure_file(... COPYONLY)` fallback. - `macos-15` ships `unifdef` 2.12 (>= 2.10), activating `unifdefall`. Because `OPENTHREAD_CONFIG_TLS_ENABLE` is defined as an expression `(OPENTHREAD_CONFIG_TCP_ENABLE || OPENTHREAD_CONFIG_BLE_TCAT_ENABLE)` in `src/core/config/ip6.h`, `unifdef` cannot evaluate `#if` blocks referencing `OPENTHREAD_CONFIG_TLS_ENABLE` and leaves them in `openthread-mbedtls-config.h` while `sed` removes `#include "openthread-core-config.h"`, causing `mbedtls` and `mbedx509` to be built without X.509 support when `OT_COAPS` is not enabled in `ot-config`. - In addition, `unifdef -s` on `macos-15` aborts with an assertion failure in `addsym2()` when duplicate `-D` flags are passed.