xref: /freebsd/contrib/googletest/.github/workflows/gtest-ci.yml (revision 02e9120893770924227138ba49df1edb3896112a)
1name: ci
2
3on:
4  push:
5  pull_request:
6
7env:
8  BAZEL_CXXOPTS: -std=c++14
9
10jobs:
11  Linux:
12    runs-on: ubuntu-latest
13    steps:
14
15    - uses: actions/checkout@v3
16      with:
17        fetch-depth: 0
18
19    - name: Tests
20      run: bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...
21
22  macOS:
23    runs-on: macos-latest
24    steps:
25
26    - uses: actions/checkout@v3
27      with:
28        fetch-depth: 0
29
30    - name: Tests
31      run:  bazel test --cxxopt=-std=c++14 --features=external_include_paths --test_output=errors ...
32
33
34  Windows:
35    runs-on: windows-latest
36    steps:
37
38    - uses: actions/checkout@v3
39      with:
40        fetch-depth: 0
41
42    - name: Tests
43      run: bazel test --cxxopt=/std:c++14 --features=external_include_paths --test_output=errors ...
44