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 //...