mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-16 22:27:41 -05:00
29 lines
482 B
YAML
29 lines
482 B
YAML
name: Style
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
style:
|
|
|
|
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 -Stest/style -Bbuild/style
|
|
|
|
- name: check style
|
|
run: cmake --build build/style --target check-format
|