You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2022/06/18 03:36:05 UTC
[rocketmq-clients] branch master updated: Add CPP build action (#8)
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
The following commit(s) were added to refs/heads/master by this push:
new 725d7ba Add CPP build action (#8)
725d7ba is described below
commit 725d7ba9dfa6bbab02e90bf5bc5a6b09447d95d3
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Sat Jun 18 11:36:00 2022 +0800
Add CPP build action (#8)
---
.github/workflows/main.yml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 8e75255..7fb18dc 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -1,6 +1,22 @@
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