-
Notifications
You must be signed in to change notification settings - Fork 5
58 lines (53 loc) · 1.35 KB
/
Copy pathci.yml
File metadata and controls
58 lines (53 loc) · 1.35 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
50
51
52
53
54
55
56
57
58
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
- gcc:13
- gcc:12
- gcc:11
- clang:22
- clang:21
- clang:20
- clang:19
- clang:18
container:
image: "registry.gitlab.com/offa/docker-images/${{ matrix.compiler }}"
name: "${{ matrix.compiler }}"
steps:
- uses: actions/checkout@main
- uses: offa/conan-action@b8e0a7119ebc3655d47130251e75c206aba96145
- name: Build
run: script/ci_build.sh
build_analyse:
runs-on: ubuntu-latest
strategy:
matrix:
tool:
- valgrind
- flawfinder
container:
image: "registry.gitlab.com/offa/docker-images/gcc:14"
name: "${{ matrix.tool }}"
steps:
- uses: actions/checkout@main
- uses: offa/conan-action@b8e0a7119ebc3655d47130251e75c206aba96145
- name: Build
run: script/ci_build.sh -${{ matrix.tool }}
formatting-check:
name: "formatting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: jidicula/clang-format-action@8cf0fe91805dd97bc574a1423c447b35e75b77fa
name: "Verify formatting"
with:
clang-format-version: 19