Skip to content

Fixes

Fixes #2

name: build-and-checks
on: [pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build git clang-tidy libglib2.0-dev
- name: Configure, build and test
run: cmake --workflow --preset default-develop
- uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files --show-diff-on-failure