Skip to content

Commit

Permalink
bazel: Add CI check for bazel [BUILD-475] (#1259)
Browse files Browse the repository at this point in the history
Adds a check for the bazel build to CI.
  • Loading branch information
jungleraptor authored Dec 5, 2022
1 parent 6bcdb35 commit 99b2475
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,17 @@ jobs:

CMAKEFLAGS: -DCMAKE_EXE_LINKER_FLAGS_RELEASE="-static" -Dgtest_disable_pthreads=ON

bazel:
name: Bazel
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Bazel Build & Test
run:
bazel test //...


windows-2019:
strategy:
Expand Down
4 changes: 2 additions & 2 deletions c/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ swift_cc_test(
type = UNIT,
deps = [
":sbp",
"@check//:check",
"@check",
],
)

Expand All @@ -94,7 +94,7 @@ swift_cc_test(
type = UNIT,
deps = [
":sbp",
"@check//:check",
"@check",
],
)

Expand Down

0 comments on commit 99b2475

Please sign in to comment.