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/20 16:28:59 UTC

[rocketmq-clients] 01/02: CI: set version for ubuntu

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 b578b293816d2e8f60cb398542e8047233061ce1
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Tue Jun 21 00:25:42 2022 +0800

    CI: set version for ubuntu
---
 .github/workflows/cpp_build.yml    | 22 +++++++++++++++++++---
 .github/workflows/csharp_build.yml |  4 ++--
 .github/workflows/java_build.yml   |  4 ++--
 3 files changed, 23 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/cpp_build.yml b/.github/workflows/cpp_build.yml
index 9b95b03..2d1360e 100644
--- a/.github/workflows/cpp_build.yml
+++ b/.github/workflows/cpp_build.yml
@@ -1,9 +1,9 @@
 name: CPP Build
 on: [push, pull_request]
 jobs:
-  cpp_build:
-    name: CPP Build Job
-    runs-on: ubuntu-latest
+  cpp_ubuntu_18_04_build:
+    name: Ubuntu 18.04 Build
+    runs-on: ubuntu-18.04
     steps:
       - uses: actions/checkout@v2
       - name: Setup Bazel
@@ -17,3 +17,19 @@ jobs:
       - name: Compile All Targets
         working-directory: ./cpp
         run: bazel build //...
+  cpp_mac_os_10_15_build:
+    name: MacOS 10.15 Build
+    runs-on: macos-10.15
+    steps:
+      - uses: actions/checkout@v2
+      - name: Setup Bazel
+        run: |
+          brew install 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
index df5db33..9ddde64 100644
--- a/.github/workflows/csharp_build.yml
+++ b/.github/workflows/csharp_build.yml
@@ -2,8 +2,8 @@ name: C# Build
 on: [push, pull_request]
 jobs:
   c_sharp_build:
-    name: C# Build Job
-    runs-on: ubuntu-latest
+    name: Ubuntu 18.04 Build
+    runs-on: ubuntu-18.04
     steps:
       - name: Checkout 
         uses: actions/checkout@v2
diff --git a/.github/workflows/java_build.yml b/.github/workflows/java_build.yml
index 2fa867a..dde6264 100644
--- a/.github/workflows/java_build.yml
+++ b/.github/workflows/java_build.yml
@@ -2,8 +2,8 @@ name: Java Build
 on: [push, pull_request]
 jobs:
   java_build:
-    name: Java Build Job
-    runs-on: ubuntu-latest
+    name: Ubuntu 18.04 Build
+    runs-on: ubuntu-18.04
     steps:
     - name: Checkout
       uses: actions/checkout@v2