blob: b11cea6f527b50bbe8c0e6f6b09a3fa4661f01b3 [file] [log] [blame]
name: Bazel
on:
workflow_dispatch:
workflow_call:
push:
paths:
- '**bazel**'
pull_request:
paths:
- '**bazel**'
jobs:
build_embedded:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-10.15]
steps:
- uses: actions/checkout@v2
- name: Mount bazel cache
uses: actions/cache@v2
with:
path: "/home/runner/.cache/bazel"
key: ${{ runner.os }}-bazel
- name: Test
run: |
bazelisk test //...
- name: Build
run: |
bazelisk build //...