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 33f8c4c8b5 fix(ci): enable the selected service in C++ behavior tests 
(#9369)
33f8c4c8b5 is described below

commit 33f8c4c8b50cd44e85ca198270d51c8c570729d3
Author: Xuanwo <[email protected]>
AuthorDate: Sun Nov 29 18:44:50 2026 +0800

    fix(ci): enable the selected service in C++ behavior tests (#9369)
    
    fix(ci): honor C++ behavior test service features
    
    Pass the documented OPENDAL_FEATURES option to CMake so each behavior job 
builds and registers the selected service. Remove the unused FEATURES arguments 
from the ordinary C++ jobs since memory is built in.
---
 .github/actions/test_behavior_binding_cpp/action.yaml | 6 +++---
 .github/workflows/ci_bindings_cpp.yml                 | 8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/.github/actions/test_behavior_binding_cpp/action.yaml 
b/.github/actions/test_behavior_binding_cpp/action.yaml
index 74fc1989c1..f5671bb40c 100644
--- a/.github/actions/test_behavior_binding_cpp/action.yaml
+++ b/.github/actions/test_behavior_binding_cpp/action.yaml
@@ -49,7 +49,7 @@ runs:
                   -DOPENDAL_ENABLE_TESTING=ON \
                   -DOPENDAL_DEV=ON \
                   -DOPENDAL_ENABLE_ASYNC=ON \
-                  -DFEATURES="opendal/${{ inputs.feature }}" \
+                  -DOPENDAL_FEATURES="opendal/${{ inputs.feature }}" \
                   -DCMAKE_CXX_STANDARD=20 \
                   ..
                 cmake --build . --config Release
@@ -60,7 +60,7 @@ runs:
                   -DOPENDAL_ENABLE_TESTING=ON \
                   -DOPENDAL_DEV=ON \
                   -DOPENDAL_ENABLE_ASYNC=ON \
-                  -DFEATURES="opendal/${{ inputs.feature }}" \
+                  -DOPENDAL_FEATURES="opendal/${{ inputs.feature }}" \
                   -DCMAKE_CXX_COMPILER=clang++ \
                   -DCMAKE_CXX_STANDARD=20 \
                   ..
@@ -72,7 +72,7 @@ runs:
                   -DOPENDAL_ENABLE_TESTING=ON \
                   -DOPENDAL_DEV=ON \
                   -DOPENDAL_ENABLE_ASYNC=ON \
-                  -DFEATURES="opendal/${{ inputs.feature }}" \
+                  -DOPENDAL_FEATURES="opendal/${{ inputs.feature }}" \
                   -DCMAKE_CXX_COMPILER=clang++ \
                   -DCMAKE_CXX_STANDARD=20 \
                   ..
diff --git a/.github/workflows/ci_bindings_cpp.yml 
b/.github/workflows/ci_bindings_cpp.yml
index 669cb66bc6..89eae98fbd 100644
--- a/.github/workflows/ci_bindings_cpp.yml
+++ b/.github/workflows/ci_bindings_cpp.yml
@@ -84,7 +84,7 @@ jobs:
         run: |
           mkdir build
           cd build
-          cmake -GNinja -DOPENDAL_DEV=ON -DFEATURES=opendal/services-memory ..
+          cmake -GNinja -DOPENDAL_DEV=ON ..
           ninja
           ./opendal_cpp_test
 
@@ -93,7 +93,7 @@ jobs:
         run: |
           mkdir build-valgrind
           cd build-valgrind
-          cmake -GNinja -DOPENDAL_ENABLE_TESTING=ON 
-DFEATURES=opendal/services-memory ..
+          cmake -GNinja -DOPENDAL_ENABLE_TESTING=ON ..
           ninja
           valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes 
--verbose ./opendal_cpp_test
 
@@ -102,7 +102,7 @@ jobs:
         run: |
           mkdir build-async
           cd build-async
-          cmake -GNinja -DOPENDAL_DEV=ON -DOPENDAL_ENABLE_ASYNC=ON 
-DFEATURES=opendal/services-memory -DCMAKE_CXX_COMPILER=clang++-18 ..
+          cmake -GNinja -DOPENDAL_DEV=ON -DOPENDAL_ENABLE_ASYNC=ON 
-DCMAKE_CXX_COMPILER=clang++-18 ..
           ninja
           ./opendal_cpp_test
 
@@ -111,7 +111,7 @@ jobs:
         run: |
           mkdir build-valgrind-async
           cd build-valgrind-async
-          cmake -GNinja -DOPENDAL_ENABLE_ASYNC=ON 
-DFEATURES=opendal/services-memory -DOPENDAL_ENABLE_TESTING=ON 
-DCMAKE_CXX_COMPILER=clang++-18 ..
+          cmake -GNinja -DOPENDAL_ENABLE_ASYNC=ON -DOPENDAL_ENABLE_TESTING=ON 
-DCMAKE_CXX_COMPILER=clang++-18 ..
           ninja
           valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes 
--verbose ./opendal_cpp_test
 

Reply via email to