Skip to content

Commit

Permalink
Add deb-apparmor build to Gitlab CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred-Barclay committed Jan 26, 2019
1 parent 3ef00da commit 342e71c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 342e71c

Please sign in to comment.