You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2025/04/01 15:10:07 UTC

(opendal) branch main updated: ci: Disable zigbuild to workaround undefined symbol (#5936)

This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new 12a076cfc ci: Disable zigbuild to workaround undefined symbol (#5936)
12a076cfc is described below

commit 12a076cfc05d224ab44ff883d62c66d67ac938f8
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Tue Apr 1 23:09:58 2025 +0800

    ci: Disable zigbuild to workaround undefined symbol (#5936)
    
    * ci: Disable zigbuild to workaround undefined symbol
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    * Fix build
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
    
    ---------
    
    Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
 .github/workflows/release_java.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/release_java.yml b/.github/workflows/release_java.yml
index 253412a7b..24d1246af 100644
--- a/.github/workflows/release_java.yml
+++ b/.github/workflows/release_java.yml
@@ -31,6 +31,10 @@ on:
       - "bindings/java/tools/build.py"
   workflow_dispatch:
 
+env:
+  # Refer to https://github.com/apache/opendal/issues/5935
+  CARGO_BUILD_ENABLE_ZIGBUILD: "false"
+
 jobs:
   stage-snapshot:
     runs-on: ${{ matrix.os }}
@@ -90,7 +94,7 @@ jobs:
             -Djni.classifier=${{ matrix.classifier }} \
             -Dcargo-build.profile=release \
             -Dcargo-build.features=services-all \
-            -Dcargo-build.enableZigbuild=true \
+            -Dcargo-build.enableZigbuild=${{ env.CARGO_BUILD_ENABLE_ZIGBUILD }} \
             -DaltStagingDirectory=local-staging \
             -DskipRemoteStaging=true \
             -DserverId=apache.releases.https \