Skip to content

Commit 807eaa1

Browse files
[#88885] .github: Add formatting CI
1 parent 27ec5d0 commit 807eaa1

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Renode CI
2+
3+
on:
4+
- push
5+
- pull_request
6+
7+
jobs:
8+
formatting-check:
9+
name: Formatting Check
10+
runs-on: ubuntu-24.04
11+
12+
steps:
13+
- name: Install dependencies
14+
run: |
15+
apt -qqy update &> /dev/null
16+
apt -qqy install clang-format-19 cmake build-essential &> /dev/null
17+
18+
- name: Install Dotnet
19+
uses: actions/setup-dotnet@v5
20+
with:
21+
dotnet-version: '8.0.x'
22+
23+
- name: Clone repository
24+
uses: actions/checkout@v6
25+
26+
- name: Build Renode
27+
run: ./build.sh
28+
29+
- name: Run format check
30+
run: dotnet format ./Renode_NET.sln --exclude lib --verify-no-changes --severity warn

0 commit comments

Comments
 (0)