Skip to content

Commit 0de6e23

Browse files
committed
ci.yml: add a Fedora target
Build CI on Fedora via docker Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 085027e commit 0de6e23

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,30 @@ jobs:
2727
make
2828
sudo make install
2929
30+
Fedora:
31+
name: Fedora
32+
runs-on: ubuntu-latest
33+
strategy:
34+
matrix:
35+
arch: [x64_64]
36+
container:
37+
image: fedora:rawhide
38+
options: --privileged
39+
steps:
40+
- uses: actions/checkout@v2
41+
- name: prepare
42+
run: |
43+
dnf update -y
44+
dnf install -y mock rpm-build rpmdevtools \
45+
autoconf automake make gcc libtraceevent-devel
46+
ln -sf fedora-rawhide-x86_64.cfg /etc/mock/default.cfg
47+
rpmdev-setuptree
48+
- name: build
49+
run: |
50+
autoreconf -vfi
51+
./configure
52+
make mock
53+
3054
Check:
3155
name: Source code check
3256
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)