mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 15:24:07 +00:00
472ce22a73
There are too many issues with 20.04 to successfully build with VirtualCam - the azure kernel is missing videodev headers. For now, use 18.04 LTS directly for main CI builds. Both 18.04 and 20.04 include clang-format-10 without issue.
22 lines
422 B
YAML
22 lines
422 B
YAML
name: Clang Format Check
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
ubuntu64:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'recursive'
|
|
|
|
- name: Install clang format
|
|
run: |
|
|
sudo apt-get install -y clang-format-10
|
|
|
|
- name: Check the Formatting
|
|
run: |
|
|
./formatcode.sh
|
|
./CI/check-format.sh
|