Skip to content

cpp_cc_build_time_copy(... TARGET foo) #297

cpp_cc_build_time_copy(... TARGET foo)

cpp_cc_build_time_copy(... TARGET foo) #297

name: check-cmake-format
on: [pull_request, push]
jobs:
build:
name: check-cmake-format
runs-on: ubuntu-20.04
# Run on external PRs, but not internal PRs as they'll be run by the push
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
steps:
- name: Fetch repository
uses: actions/checkout@v3
- name: Install packages
run: sudo apt-get update && sudo apt-get install python3-venv
- name: Check CMake format
run: bin/format -n --lang cmake