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

wusheng pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git


The following commit(s) were added to refs/heads/master by this push:
     new 786ce1c  Add Bazel build validation to CI workflow (#119)
786ce1c is described below

commit 786ce1cae4c20a71789af999aa660cf0ca294411
Author: Matthieu MOREL <[email protected]>
AuthorDate: Sun Feb 1 10:31:22 2026 +0100

    Add Bazel build validation to CI workflow (#119)
---
 .bazelrc                  |  3 +++
 .github/workflows/ci.yaml | 14 +++++++++++---
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/.bazelrc b/.bazelrc
index 68dda75..5fe8157 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -17,4 +17,7 @@
 
 common --enable_bzlmod
 
+build --cxxopt=-std=c++17
+build --host_cxxopt=-std=c++17
+
 try-import %workspace%/user.bazelrc
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index b1644b7..356f62d 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -26,10 +26,18 @@ on:
 jobs:
   CI:
     runs-on: ubuntu-latest
-    timeout-minutes: 10
+    timeout-minutes: 30
+    env:
+      USE_BAZEL_VERSION: 7.7.1
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # 
v6.0.1
         with:
           submodules: true
       - name: Check License Headers
-        uses: apache/skywalking-eyes@6e387ca914675222f0df405660f88bc803c297bf
+        uses: apache/skywalking-eyes@61275cc80d0798a405cb070f7d3a8aaf7cf2c2c1 
# v0.8.0
+      
+      - name: Setup Bazelisk
+        uses: 
bazel-contrib/setup-bazel@083175551ceeceebc757ebee2127fde78840ca77  # v0.18.0
+      
+      - name: Build All Targets
+        run: bazel build //...

Reply via email to