more iterations #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |