26 lines
398 B
YAML
26 lines
398 B
YAML
name: Style
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
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
|