mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-17 06:37:43 -05:00
* apply clang-format and cmake-format and add style check workflow * add declare package definition * add additional public methods and rename internals * change development verison tag to 1.0.0 * rename internal method * rename public method * rename test var * update copyright and fix comment * typo * run fix-format * fix test function names
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 -Htest/style -Bbuild/style
|
|
|
|
- name: check style
|
|
run: cmake --build build/style --target check-format
|