-
Notifications
You must be signed in to change notification settings - Fork 20
49 lines (44 loc) · 1.11 KB
/
ci.yml
File metadata and controls
49 lines (44 loc) · 1.11 KB
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
46
47
48
49
name: ci
on: [push, pull_request]
permissions:
contents: read
pull-requests: read
jobs:
build_linux:
runs-on: ubuntu-latest
strategy:
matrix:
compiler:
- gcc:15
- gcc:14
- clang:22
- clang:21
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: jidicula/clang-format-action@654a770daa28443dd111d133e4083e21c1075674
name: "Verify formatting"
with:
clang-format-version: 19
coverage:
name: "coverage"
runs-on: ubuntu-latest
container:
image: "registry.gitlab.com/offa/docker-images/gcc:15"
steps:
- uses: actions/checkout@main
- name: Setup
run: script/ci_setup.sh
- name: Build
run: script/ci_build.sh -cov