Skip to content

Commit fb4bcdc

Browse files
committed
workflows: Add test to check if RPM patches still apply
Signed-off-by: Anderson Toshiyuki Sasaki <[email protected]>
1 parent 6ef9c5b commit fb4bcdc

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/rpm.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
name: rpm-test
3+
4+
on:
5+
push:
6+
branches: [master]
7+
pull_request:
8+
branches: [master]
9+
workflow_dispatch:
10+
11+
jobs:
12+
fedora:
13+
name: Check that Fedora RPM patches still apply
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
- name: Check that Fedora patches apply
18+
run: for p in rpm/fedora/*.patch; do patch -p1 < "$p"; done
19+
centos:
20+
runs-on: ubuntu-latest
21+
name: Check that CentOS RPM patches still apply
22+
steps:
23+
- uses: actions/checkout@v5
24+
- name: Check that CentOS patches apply
25+
run: for p in rpm/centos/*.patch; do patch -p1 < "$p"; done

0 commit comments

Comments
 (0)