CI: Add GitHub Actions workflow to package C++ client binaries#17528
Merged
jt2594838 merged 4 commits intoapache:masterfrom Apr 21, 2026
Merged
CI: Add GitHub Actions workflow to package C++ client binaries#17528jt2594838 merged 4 commits intoapache:masterfrom
jt2594838 merged 4 commits intoapache:masterfrom
Conversation
HTHou
reviewed
Apr 21, 2026
HTHou
approved these changes
Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a dedicated GitHub Actions workflow (
.github/workflows/client-cpp-package.yml) that runs C++ client packaging only (no integration-test server startup), and uploads Maven-assembled archives:iotdb-client/client-cpp/target/client-cpp-*-cpp-*.zipThe package step uses:
./mvnw clean package -P with-cpp -pl iotdb-client/client-cpp -am -DskipTests -Dspotless.check.skip=true -Dspotless.apply.skip=trueTrigger strategy (save CI + avoid release misses)
workflow_dispatch: manual runreleasewithpublished: always runpushon tagsv*: always runpushonrc/**: run only when C++-related paths changed (viashould-package+dorny/paths-filter)Filtered paths for
rc/**pushes:pom.xmliotdb-client/**iotdb-protocol/**.github/workflows/client-cpp-package.ymlThis avoids missing packaging on version tags while still reducing CI load on
rc/**branches.Build matrix
ubuntu-22.04(x86_64)ubuntu-22.04-arm(aarch64)macos-15-intel(x86_64)macos-latest(arm64)MACOSX_DEPLOYMENT_TARGET=12.0in package stepwindows-2022(VS2022 toolchain path)windows-2025-vs2026(explicit-Dcmake.generator="Visual Studio 18 2026")VS2019 was removed from CI matrix to avoid deprecated/scarce
windows-2019hosted runners. Local VS2019 guidance remains iniotdb-client/client-cpp/README.mdif needed.Notes
releaseevents use the workflow definition from the repository default branch (GitHub behavior).multi-language-clientworkflow remains responsible for broader validation (verify/ distribution-related flow); this workflow focuses on packaging artifacts.