Merge pull request #3620 from hzeller:add-simple-ci

PiperOrigin-RevId: 411929458
Change-Id: Id102172091fb708c0c8252da6d3570771fc15dba
This commit is contained in:
Copybara-Service 2021-11-23 17:23:00 -08:00
commit e2f3978937

40
.github/workflows/gtest-ci.yml vendored Normal file
View File

@ -0,0 +1,40 @@
name: ci
on:
push:
pull_request:
jobs:
Linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Tests
run: bazel test --test_output=errors //...
MacOs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Tests
run: bazel test --test_output=errors //...
Windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Tests
run: bazel test --test_output=errors //...