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