ci: add an enable-elements-abi=no build to prevent future breakage
What changed, and why it matters
This commit only adds a new automated build test to the project's continuous integration (CI) configuration. It ensures the software can be compiled with a specific optional feature turned off. There are no code changes that affect how the library behaves, and nothing in the commit suggests a security problem or fix.
No security action needed. Treat as routine CI maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds a new GitLab CI job named test_no_elements_abi to .gitlab-ci.yml. The job runs the standard autotools build with --enable-elements=no --enable-elements-abi=no and strict compiler warnings (-Wall -W -Wextra -Werror). This is purely a regression-prevention build configuration; no source files, APIs, or runtime logic are modified.
Changed components
.gitlab-ci.ymlInspect captured patch +11 / −0
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 497096a..19ed7b7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -115,6 +115,17 @@ test_mingw_static_build:
- CC=x86_64-w64-mingw32-gcc ./configure --host=x86_64-w64-mingw32 --disable-swig-python --disable-swig-java --disable-shared --enable-static
- make -j $(($(grep ^processor /proc/cpuinfo | wc -l) / 2))
+test_no_elements_abi:
+ stage: test
+ image: greenaddress/wallycore@sha256:956b107d688f549c6e3884424991b7d3d34d84173990d43046fd760d7918db7c
+ tags:
+ - ga
+ artifacts:
+ script:
+ - ./tools/cleanup.sh && ./tools/autogen.sh
+ - CFLAGS='-Wall -W -Wextra -Werror' ./configure --disable-swig-python --disable-swig-java --disable-clear-tests --enable-elements=no --enable-elements-abi=no
+ - make -j $(($(grep ^processor /proc/cpuinfo | wc -l) / 2))
+
build_wally_release_files:
stage: release
needs: [test_mingw_static_build,test_with_valgrind,test_asan_ubsan_gcc,test_scan_build_clang,test_cmake,test_amalgamation]
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.