Skip to content

Add Clang 22 CI build (#138) #331

Add Clang 22 CI build (#138)

Add Clang 22 CI build (#138) #331

Workflow file for this run

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