Skip to content

Commit 0013fb8

Browse files
committed
GitHub Actions CI: Check formatting with clang-format
This requires clang-format-10, which is available in ubuntu-20.04.
1 parent c7d9a27 commit 0013fb8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: "CI: Check Code Formatting"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Check Code Formatting
13+
run: |
14+
# Prevent blocking the install on a question during configuring of tzdata.
15+
export ENV DEBIAN_FRONTEND=noninteractive
16+
sudo apt update
17+
sudo apt install build-essential mm-common clang-format-10 --yes
18+
sudo ln -sf /usr/bin/clang-format-10 /usr/bin/clang-format
19+
./autogen.sh --enable-warnings=fatal
20+
make check-format

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy