Skip to content

Commit c4ac6aa

Browse files
add a Bazel build and test to the GitHub workflow
1 parent 10a530e commit c4ac6aa

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/build_and_test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,15 @@ jobs:
6666
working-directory: ${{github.workspace}}/build
6767
run: |
6868
ctest --output-on-failure
69+
70+
bazel_build:
71+
name: Build and test using Bazel
72+
runs-on: 'ubuntu-20.04'
73+
steps:
74+
- uses: actions/checkout@v4
75+
- name: Build
76+
run: |
77+
bazel build -c opt //cmd:all
78+
- name: Test
79+
run: |
80+
bazel test //...

0 commit comments

Comments
 (0)