2021-10-21 06:18:49 +08:00
|
|
|
name: ci
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
|
2022-07-12 01:16:57 +08:00
|
|
|
env:
|
|
|
|
BAZEL_CXXOPTS: -std=c++14
|
|
|
|
|
2021-10-21 06:18:49 +08:00
|
|
|
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 //...
|