1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 21:51:12 +02:00
ModernCppStarter/.github/workflows/style.yml
Lars Melchior 218eb2270c
Download cpm.cmake on-demand and lock cmake-format version (#55)
* download cpm.cmake on-demand

* apply clang-format

* use pip3 and version lock cmake-format
2020-08-20 09:11:00 +02:00

28 lines
464 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
pip3 install cmake_format==0.6.11 pyyaml
- name: configure
run: cmake -Htest -Bbuild
- name: check style
run: cmake --build build --target check-format