This is an automated email from the ASF dual-hosted git repository.
jiahuili430 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/main by this push:
new 997deea76 CI: Enable xref checking for undefined functions
997deea76 is described below
commit 997deea76f4489e2e8702bb7dbf50eceffdd5650
Author: Jiahui Li <[email protected]>
AuthorDate: Thu Mar 26 09:25:15 2026 -0500
CI: Enable xref checking for undefined functions
`Xref` is a cross reference tool that helps us find undefined functions,
so add it to the CI.
Reference: https://www.erlang.org/doc/apps/tools/xref_chapter.html
---
build-aux/Jenkinsfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/build-aux/Jenkinsfile b/build-aux/Jenkinsfile
index 1553ff29a..b48059a0c 100644
--- a/build-aux/Jenkinsfile
+++ b/build-aux/Jenkinsfile
@@ -329,6 +329,7 @@ def generateNativeStage(platform) {
dir( "${platform}/build" ) {
sh "${configure(meta[platform])}"
sh '$MAKE'
+ sh '$MAKE xref'
retry (3) {sh "$MAKE ${meta[platform].gnu_make_eunit_opts}
eunit" }
if (meta[platform].quickjs_test262) {retry(3) {sh 'make
quickjs-test262'}}
retry (3) {sh '$MAKE elixir'}
@@ -496,6 +497,7 @@ def generateContainerStage(platform) {
dir( "${platform}/build" ) {
sh "${configure(meta[platform])}"
sh 'make'
+ sh 'make xref'
retry (3) {sh "make ${meta[platform].gnu_make_eunit_opts}
eunit" }
if (meta[platform].quickjs_test262) {retry(3) {sh 'make
quickjs-test262'}}
retry(3) {sh 'make elixir'}