mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-30 21:51:12 +02:00
28 lines
455 B
YAML
28 lines
455 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 format dependencies
|
|
run: |
|
|
brew install clang-format
|
|
pip install cmake_format pyyaml
|
|
|
|
- name: configure
|
|
run: cmake -Htest -Bbuild
|
|
|
|
- name: check style
|
|
run: cmake --build build --target check-format
|