-
Notifications
You must be signed in to change notification settings - Fork 20
45 lines (41 loc) · 1.02 KB
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: ci
on: [push, pull_request]
jobs:
build_linux:
runs-on: ubuntu-latest
strategy:
matrix:
compiler:
- gcc:13
- gcc:12
- clang:17
- clang:16
container:
image: "registry.gitlab.com/offa/docker-images/${{ matrix.compiler }}"
name: "${{ matrix.compiler }}"
steps:
- uses: actions/checkout@main
- name: Setup
run: script/ci_setup.sh
- name: Build
run: script/ci_build.sh -asan -ubsan
formatting-check:
name: "formatting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: DoozyX/clang-format-lint-action@master
name: "Verify formatting"
with:
clangFormatVersion: 16
coverage:
name: "coverage"
runs-on: ubuntu-latest
container:
image: "registry.gitlab.com/offa/docker-images/gcc:12"
steps:
- uses: actions/checkout@main
- name: Setup
run: script/ci_setup.sh
- name: Build
run: script/ci_build.sh -cov