Skip to content

superbuild: Add jobs switch for sub-builds (#2568) #917

superbuild: Add jobs switch for sub-builds (#2568)

superbuild: Add jobs switch for sub-builds (#2568) #917

Workflow file for this run

# Copyright 2020-2023, Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
name: Check code formatting
on: [push, pull_request]
jobs:
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install dependencies
run: |
echo "APT::Acquire::Retries \"3\";" | sudo tee -a /etc/apt/apt.conf.d/80-retries
sudo apt-get update
sudo apt-get install -y clang-format-12 clang-12
sudo ln -sf /usr/bin/clang-12 /usr/bin/clang
sudo ln -sf /usr/bin/clang-format-12 /usr/bin/clang-format
- name: Check format
run: |
./check_format.sh