aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorLibravatar Fred-Barclay <Fred-Barclay@users.noreply.github.com>2019-01-26 11:37:00 -0600
committerLibravatar Fred-Barclay <Fred-Barclay@users.noreply.github.com>2019-01-26 11:37:00 -0600
commit342e71cd870e1949b410dfc8ee21a292aa292e2e (patch)
treede2371f993844d070ac755b5704ac5499635acad /.gitlab-ci.yml
parentSwitch ubuntu:latest to ubuntu:rolling for Gitlab CI (diff)
downloadfirejail-342e71cd870e1949b410dfc8ee21a292aa292e2e.tar.gz
firejail-342e71cd870e1949b410dfc8ee21a292aa292e2e.tar.zst
firejail-342e71cd870e1949b410dfc8ee21a292aa292e2e.zip
Add deb-apparmor build to Gitlab CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a3d4fcc6e..c08d3b2e3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,7 @@
4# 2. Redhat-based systems. Use centos:latest for reasonable backwards compat 4# 2. Redhat-based systems. Use centos:latest for reasonable backwards compat
5# and fedora:latest for new setups 5# and fedora:latest for new setups
6# 3. Alpine for installing directly from source 6# 3. Alpine for installing directly from source
7# Also builds apparmor package for Ubuntu LTS
7build_ubuntu_package: 8build_ubuntu_package:
8 image: ubuntu:rolling 9 image: ubuntu:rolling
9 script: 10 script:
@@ -39,3 +40,10 @@ build_src_package:
39 - apk upgrade 40 - apk upgrade
40 - apk add build-base linux-headers 41 - apk add build-base linux-headers
41 - ./configure --prefix=/usr && make && make install-strip 42 - ./configure --prefix=/usr && make && make install-strip
43
44build_apparmor:
45 image: ubuntu:latest
46 script:
47 - apt-get update -qq
48 - apt-get install -y -qq build-essential lintian libapparmor-dev
49 - ./configure --prefix=/usr && make deb-apparmor && dpkg -i firejail-apparmor*.deb