mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
869562263f
Bumps [ZedThree/clang-tidy-review](https://github.com/zedthree/clang-tidy-review) from 0.18.0 to 0.19.0. - [Release notes](https://github.com/zedthree/clang-tidy-review/releases) - [Changelog](https://github.com/ZedThree/clang-tidy-review/blob/master/CHANGELOG.md) - [Commits](https://github.com/zedthree/clang-tidy-review/compare/v0.18.0...v0.19.0) --- updated-dependencies: - dependency-name: ZedThree/clang-tidy-review dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
66 lines
2 KiB
YAML
66 lines
2 KiB
YAML
---
|
|
name: clang-tidy
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: clang-tidy-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
review:
|
|
name: "clang-tidy ${{ matrix.os }}, Qt ${{ matrix.qt-version }})"
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
include:
|
|
# Ubuntu 22.04, Qt 6.6
|
|
- os: ubuntu-22.04
|
|
qt-version: 6.6.2
|
|
|
|
fail-fast: false
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0 # allows for tags access
|
|
|
|
- name: Install Qt6
|
|
if: startsWith(matrix.qt-version, '6.')
|
|
uses: jurplel/install-qt-action@v3.3.0
|
|
with:
|
|
cache: true
|
|
cache-key-prefix: ${{ runner.os }}-QtCache-${{ matrix.qt-version }}-v2
|
|
modules: qt5compat qtimageformats
|
|
version: ${{ matrix.qt-version }}
|
|
dir: ${{ github.workspace }}/.qtinstall
|
|
set-env: false
|
|
|
|
- name: clang-tidy review
|
|
timeout-minutes: 20
|
|
uses: ZedThree/clang-tidy-review@v0.19.0
|
|
with:
|
|
build_dir: build-clang-tidy
|
|
config_file: ".clang-tidy"
|
|
split_workflow: true
|
|
exclude: "lib/*,tools/crash-handler/*"
|
|
cmake_command: >-
|
|
./.CI/setup-clang-tidy.sh
|
|
apt_packages: >-
|
|
libsecret-1-dev,
|
|
libboost-dev, libboost-system-dev, libboost-filesystem-dev,
|
|
libssl-dev,
|
|
rapidjson-dev,
|
|
libbenchmark-dev,
|
|
build-essential,
|
|
libgl1-mesa-dev, libgstreamer-gl1.0-0, libpulse-dev,
|
|
libxcb-glx0, libxcb-icccm4, libxcb-image0, libxcb-keysyms1, libxcb-randr0,
|
|
libxcb-render-util0, libxcb-render0, libxcb-shape0, libxcb-shm0, libxcb-sync1,
|
|
libxcb-util1, libxcb-xfixes0, libxcb-xinerama0, libxcb1, libxkbcommon-dev,
|
|
libxkbcommon-x11-0, libxcb-xkb-dev, libxcb-cursor0
|
|
|
|
- name: clang-tidy-review upload
|
|
uses: ZedThree/clang-tidy-review/upload@v0.19.0
|