This is an automated email from the ASF dual-hosted git repository. aaronai pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
commit 847c6b2ae3ad524f24091059e3b8b9104644715d Author: Aaron Ai <[email protected]> AuthorDate: Sat Jun 18 11:37:07 2022 +0800 Fix typo --- .github/workflows/cpp_build.yml | 19 ++++++++++++++ .github/workflows/csharp_build.yml | 21 +++++++++++++++ .github/workflows/java_build.yml | 19 ++++++++++++++ .github/workflows/main.yml | 52 -------------------------------------- README.md | 4 +++ 5 files changed, 63 insertions(+), 52 deletions(-) diff --git a/.github/workflows/cpp_build.yml b/.github/workflows/cpp_build.yml new file mode 100644 index 0000000..9f108dc --- /dev/null +++ b/.github/workflows/cpp_build.yml @@ -0,0 +1,19 @@ +name: CPP Build Action +on: [push, pull_request] +jobs: + cpp_build: + name: CPP Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Bazel + run: | + sudo apt-get -qq install npm + sudo npm install -g @bazel/bazelisk + - name: Use Bazel + if: matrix.os != 'windows' + working-directory: ./cpp + run: bazel -h + - name: Compile All Targets + working-directory: ./cpp + run: bazel build //... diff --git a/.github/workflows/csharp_build.yml b/.github/workflows/csharp_build.yml new file mode 100644 index 0000000..e81a185 --- /dev/null +++ b/.github/workflows/csharp_build.yml @@ -0,0 +1,21 @@ +name: C# Build Action +on: [push, pull_request] +jobs: + c_sharp_build: + name: C# Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup dotnet + uses: actions/setup-dotnet@v1 + with: + dotnet-version: | + 5.0.x + 6.0.x + - name: Build artifacts + working-directory: ./csharp + run: | + dotnet --version + dotnet build + diff --git a/.github/workflows/java_build.yml b/.github/workflows/java_build.yml new file mode 100644 index 0000000..0659a03 --- /dev/null +++ b/.github/workflows/java_build.yml @@ -0,0 +1,19 @@ +name: Java Build Action +on: [push, pull_request] +jobs: + java_build: + name: Java Build + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v2 + with: + java-version: '11' + distribution: 'adopt' + cache: maven + - name: Build with Maven + working-directory: ./java + run: mvn -B package --file pom.xml + diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 7fb18dc..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,52 +0,0 @@ -name: CI -on: [push, pull_request] -jobs: - cpp_build: - name: CPP build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Setup Bazel - run: | - sudo apt-get -qq install npm - sudo npm install -g @bazel/bazelisk - - name: Use Bazel - if: matrix.os != 'windows' - working-directory: ./cpp - run: bazel -h - - name: Compile All Targets - working-directory: ./cpp - run: bazel build //... - c_sharp_build: - name: C# build - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Setup dotnet - uses: actions/setup-dotnet@v1 - with: - dotnet-version: | - 5.0.x - 6.0.x - - name: Build artifacts - working-directory: ./csharp - run: | - dotnet --version - dotnet build - java_build: - name: Java build - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v2 - with: - java-version: '11' - distribution: 'adopt' - cache: maven - - name: Build with Maven - working-directory: ./java - run: mvn -B package --file pom.xml - diff --git a/README.md b/README.md index 6b8c664..ca129cf 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # RocketMQ Clients - Collection of Polyglot Clients for Apache RocketMQ +[](https://github.com/apache/rocketmq-clients/actions/workflows/cpp_build.yml) +[](https://github.com/apache/rocketmq-clients/actions/workflows/csharp_build.yml) +[](https://github.com/apache/rocketmq-clients/actions/workflows/java_build.yml) + ## Overview Polyglot solution of clients for [Apache RocketMQ](https://rocketmq.apache.org/), and both of them follow the specification of [rocketmq-apis](https://github.com/apache/rocketmq-apis), replace the previous protocol based on `RemotingCommand` by [Protocol Buffers](https://developers.google.com/protocol-buffers) and [gRPC](https://grpc.io/). Apart from that, APIs from clients of different languages share the same model and semantics.
