You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by li...@apache.org on 2022/08/01 10:59:43 UTC

[rocketmq-clients] branch cpp_dev updated: BuildBuddy for Windows

This is an automated email from the ASF dual-hosted git repository.

lizhanhui pushed a commit to branch cpp_dev
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git


The following commit(s) were added to refs/heads/cpp_dev by this push:
     new f2fb51f  BuildBuddy for Windows
f2fb51f is described below

commit f2fb51f7c61bbd97b08363e076eaf26c6ab904c5
Author: Li Zhanhui <li...@gmail.com>
AuthorDate: Mon Aug 1 18:59:30 2022 +0800

    BuildBuddy for Windows
---
 .github/workflows/cpp_build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/cpp_build.yml b/.github/workflows/cpp_build.yml
index 46c85b7..29261d3 100644
--- a/.github/workflows/cpp_build.yml
+++ b/.github/workflows/cpp_build.yml
@@ -26,7 +26,7 @@ jobs:
       - name: Compile On Windows
         working-directory: ./cpp
         if: runner.os == 'Windows'
-        run: bazel build //...
+        run: bazel build --config=remote --remote_header=x-buildbuddy-api-key=${{ secrets.BUILD_BUDDY_API_KEY }} //...
       - name: Compile On macOS
         working-directory: ./cpp
         if: runner.os == 'macOS'
@@ -38,7 +38,7 @@ jobs:
       - name: Run Unit Tests On Windows
         working-directory: ./cpp  
         if: runner.os == 'Windows'
-        run: bazel test //...
+        run: bazel test --config=remote --remote_header=x-buildbuddy-api-key=${{ secrets.BUILD_BUDDY_API_KEY }} //...
       - name: Run Unit Tests On macOS
         working-directory: ./cpp
         if: runner.os == 'macOS'