Debian Codegraph @

ext/cwisstable/.github/workflows/ci.yml

raw symbols SCIP
1 # Copyright 2021 Google LLC
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 # http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 name: Build and Test
16
17 on:
18 push:
19 branches: [main]
20 pull_request:
21 branches: [main]
22
23 jobs:
24 clang-format:
25 runs-on: ubuntu-latest
26 steps:
27 - uses: actions/checkout@v2
28 - name: clang-format
29 run: ci/clang-format.sh
30
31 clang-tests:
32 runs-on: ubuntu-latest
33 steps:
34 - uses: actions/checkout@v2
35
36 - name: bazel build
37 run: CC=clang bazel build //...
38 - name: bazel test
39 run: CC=clang bazel test //...
40
41 gcc-tests:
42 runs-on: ubuntu-latest
43 steps:
44 - uses: actions/checkout@v2
45
46 - name: bazel build
47 run: CC=gcc bazel build //...
48 - name: bazel test
49 run: CC=gcc bazel test //...