blob: ccb05f55eb3274757f2cf1326d8049c1478c2861 (
plain) (
blame)
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
|
name: Build CI
on:
push:
branches: [ master ]
paths-ignore:
- CONTRIBUTING.md
- README
- README.md
- RELNOTES
- SECURITY.md
pull_request:
branches: [ master ]
paths-ignore:
- CONTRIBUTING.md
- README
- README.md
- RELNOTES
- SECURITY.md
jobs:
build_and_test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
- name: update package information
run: sudo apt-get update
- name: install dependencies
run: sudo apt-get install gcc-11 libapparmor-dev libselinux1-dev expect xzdec
- name: configure
run: CC=gcc-11 ./configure --enable-fatal-warnings --enable-analyzer --enable-apparmor --enable-selinux --prefix=/usr
- name: make
run: make
- name: make install
run: sudo make install
- name: run tests
run: SHELL=/bin/bash make test-github
|