Skip to content

starting over (again) #8

starting over (again)

starting over (again) #8

Workflow file for this run

name: Check clang-tidy
on:
push:
branches-ignore:
- gh-readonly-queue/**
- master
pull_request:
merge_group:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check-clang-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install clang-tidy
run: |
sudo apt-get update -y
sudo apt-get install pkg-config cmake ninja-build libsqlite3-dev clang-tidy -y
- name: Build with clang-tidy
run: |
mkdir clang-tidy
cd clang-tidy
cmake -G Ninja -DCMAKE_CXX_CLANG_TIDY="clang-tidy;-warnings-as-errors=*" -DCMAKE_C_CLANG_TIDY="clang-tidy;-warnings-as-errors=*" -DCMAKE_BUILD_TYPE=Debug -Werror=dev ..
cmake --build . --config Debug --target everything -- -k 0