From 342e71cd870e1949b410dfc8ee21a292aa292e2e Mon Sep 17 00:00:00 2001 From: Fred-Barclay Date: Sat, 26 Jan 2019 11:37:00 -0600 Subject: [PATCH] Add deb-apparmor build to Gitlab CI --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a3d4fcc6e85..c08d3b2e393 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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