Skip to content

Fix the first CI run's failures - #1

Merged
srcejon merged 1 commit into
mainfrom
ci-fixes
Nov 2, 2026
Merged

srcejon merged 1 commit into
mainfrom
ci-fixes

Conversation

@srcejon

@srcejon srcejon commented Nov 2, 2026

Copy link
Copy Markdown
Owner

The first CI run on main failed in five jobs; this fixes each.

  • Android (all three ABIs): the NDK path was empty. ANDROID_NDK_LATEST_HOME is an environment variable of the runner image, not part of the workflow's env context, so it is now read in the shell.
  • macOS x86_64: macos-13 is retired and the job sat queued; it now runs on macos-15-intel.
  • Linux neo-compat: GCC with warnings as errors reported softWordErrors (and, once past it, two helpers in test_robustness.cpp) as unused; all three are only used with MBEVOCODER_CHIP_MEASURED and are now compiled only there.
  • Linux ASan/UBSan:
    • test_threads: the reference threads ended without mbe_freeThreadResources(), so LeakSanitizer reported their FFT plans. The test now does what the API asks.
    • installed_c_consumers: in a Debug install mbevocoder.pc said -lmbevocoder while the archive is libmbevocoderd.a (DEBUG_POSTFIX d). The file is now generated per configuration.

Checked locally: the four existing builds (MSVC, MSVC neo-compat, MSVC strict FP, Cygwin GCC), a Cygwin GCC neo-compat build and a Cygwin GCC Debug build with warnings as errors (all tests pass, the pkg-config consumer included), and the three Android presets with NDK 29.

🤖 Generated with Claude Code

- Android: take the NDK from the runner's ANDROID_NDK_LATEST_HOME in the
  shell; the workflow's env context does not carry the image's variables.
- macOS x86_64: macos-13 is retired and the job never started; use
  macos-15-intel.
- neo-compat (GCC, warnings as errors): softWordErrors and two test
  helpers are only used with MBEVOCODER_CHIP_MEASURED.
- ASan/UBSan: test_threads' reference threads did not release their FFT
  plans (mbe_freeThreadResources), which LeakSanitizer reports.
- Debug installs: mbevocoder.pc named the library without the Debug
  postfix (libmbevocoderd.a); it is now generated per configuration.
- test_robustness: drop item labels from the removed review notes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@srcejon
srcejon merged commit 93d5690 into main Nov 2, 2026
12 checks passed
@srcejon
srcejon deleted the ci-fixes branch November 10, 2026 13:12
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