MyModernCppStarter/.github/workflows/style.yml
2020-04-24 11:10:37 +02:00

20 lines
337 B
YAML

name: Style
on: [push, pull_request]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: Install clang-format
run: brew install clang-format
- name: configure
run: cmake -Htest -Bbuild
- name: check style
run: cmake --build build --target check-format