forked from linux-application-whitelisting/fapolicyd
-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (30 loc) · 898 Bytes
/
rockylinux8.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: rockylinux8-build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
container: rockylinux/rockylinux:8
steps:
- uses: actions/checkout@v2
- name: getting envinronment info
run: uname -a
- name: print version
run: cat /etc/*release
- name: installing dependencies 1
run: dnf -y install epel-release dnf-plugins-core python3-dnf-plugins-core util-linux --nogpgcheck
- name: installing dependencies 2
run: dnf -y builddep ./fapolicyd.spec --enablerepo='powertools' --nogpgcheck
- name: generate config files
run: ./autogen.sh
- name: configure
run: ./configure --with-rpm --with-audit --disable-shared --disable-dependency-tracking
- name: build
run: make
- name: check
run: make check
- name: dist
run: make dist