blob: aff83155f0836b0fb461e2b787d9831bbe24a12b [file] [log] [blame]
name: CPP Build
on:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- master
jobs:
cpp_build:
name: "CPP (${{ matrix.os }})"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, macos-12, macos-11, windows-2019]
steps:
- uses: actions/checkout@v2
- name: Compile All Targets
working-directory: ./cpp
run: bazel build //...
- name: Execute Unit Tests
working-directory: ./cpp
run: bazel test //...