Roll external/googletest/ 6eb225cb8..5df0241ea (2 commits) (#5583) #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: '0' | |
- name: Download dependencies | |
run: python3 utils/git-sync-deps | |
- name: Mount Bazel cache | |
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 | |
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 //... |