Skip to content

πŸ”– Bump version #179

πŸ”– Bump version

πŸ”– Bump version #179

Workflow file for this run

name: Checks
on:
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
- 'LICENSE'
branches:
- develop
pull_request:
branches:
- develop
concurrency:
group: checks-${{ github.ref }}
cancel-in-progress: true
jobs:
cpp-linter:
runs-on: ubuntu-latest
container: archlinux:base-devel
steps:
- uses: actions/checkout@v4
- name: install deps
run: |
pacman -Syu --noconfirm cmake pkg-config ninja clang rust mold llvm libc++ qt6-base qt6-tools polkit-qt6 python git
shell: bash
- name: Configure CMake
run: |
export AR=llvm-ar
export CC=clang
export CXX=clang++
export NM=llvm-nm
export RANLIB=llvm-ranlib
./configure.sh -t=Debug -p=${{github.workspace}}/build --use_clang
./build.sh
shell: bash
- name: Run clang-tidy
run: |
clang-tidy -p ${{github.workspace}}/build/Debug src/*.cpp
shell: bash
check_clang_format:
name: "Check C++ style"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run clang-format style check for C/C++/Protobuf programs.
uses: jidicula/[email protected]
with:
clang-format-version: '16'
check-path: 'src'
exclude-regex: 'src/ini.hpp'