Skip to content

Improve matrix layout validation (#5662) #1441

Improve matrix layout validation (#5662)

Improve matrix layout validation (#5662) #1441

Workflow file for this run

name: Build and Test with Bazel
permissions:
contents: read
on:
push:
branches:
- 'main'
pull_request:
jobs:
build:
timeout-minutes: 120
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-2019]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
fetch-depth: '0'
- name: Download dependencies
run: python3 utils/git-sync-deps
- name: Mount Bazel cache
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ~/.bazel/cache
key: bazel-cache-${{ runner.os }}
- name: Build All
run: bazel --output_user_root=~/.bazel/cache build //...
- name: Test All
run: bazel --output_user_root=~/.bazel/cache test //...