Skip to content

Commit

Permalink
add a Bazel build and test to the GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbartholomew committed Feb 7, 2024
1 parent 2c4cc34 commit 6b834b1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,15 @@ jobs:
working-directory: ${{github.workspace}}/build
run: |
ctest --output-on-failure
bazel_build:
name: Build and test using Bazel
runs-on: 'ubuntu-20.04'
steps:
- uses: actions/checkout@v4
- name: Build
run: |
bazel build -c opt //cmd:all
- name: Test
run: |
bazel test //...

0 comments on commit 6b834b1

Please sign in to comment.