Add deb-apparmor build to Gitlab CI

This commit is contained in:
Fred-Barclay 2019-01-26 11:37:00 -06:00
parent 3ef00dab34
commit 342e71cd87
No known key found for this signature in database
GPG key ID: 7338CE369A928102

View file

@ -4,6 +4,7 @@
# 2. Redhat-based systems. Use centos:latest for reasonable backwards compat
# and fedora:latest for new setups
# 3. Alpine for installing directly from source
# Also builds apparmor package for Ubuntu LTS
build_ubuntu_package:
image: ubuntu:rolling
script:
@ -39,3 +40,10 @@ build_src_package:
- apk upgrade
- apk add build-base linux-headers
- ./configure --prefix=/usr && make && make install-strip
build_apparmor:
image: ubuntu:latest
script:
- apt-get update -qq
- apt-get install -y -qq build-essential lintian libapparmor-dev
- ./configure --prefix=/usr && make deb-apparmor && dpkg -i firejail-apparmor*.deb