Skip to content

Merge pull request #169 from topazus/fix-cmake #83

Merge pull request #169 from topazus/fix-cmake

Merge pull request #169 from topazus/fix-cmake #83

Workflow file for this run

name: Check format
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc]
steps:
- uses: actions/checkout@v3
- name: dependencies
run: sudo apt install libeigen3-dev clang-format
- name: cmake
run: cmake -B builddir
- name: Format
run: cmake --build builddir --target format && git diff --exit-code