Skip to content

Commit

Permalink
Add basic Bazel build/test CI matrix for Ubuntu
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Flynn <evan.flynn@apex.ai>
  • Loading branch information
evan-flynn-apexai committed Oct 3, 2023
1 parent a65dca9 commit 3646a74
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build/Test

on:
push:
branches:
- main
tags:
- "**"
pull_request:
branches:
- main
workflow_dispatch:

# only run one build doc workflow at a time, cancel any running ones
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build_test:
strategy:
matrix:
os:
- ubuntu
version:
- 18.04
- 20.04
- 22.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Build
run: bazel build //...
- name: Test
run: bazel test //...

0 comments on commit 3646a74

Please sign in to comment.