diff options
author | 2019-01-26 11:37:00 -0600 | |
---|---|---|
committer | 2019-01-26 11:37:00 -0600 | |
commit | 342e71cd870e1949b410dfc8ee21a292aa292e2e (patch) | |
tree | de2371f993844d070ac755b5704ac5499635acad | |
parent | Switch ubuntu:latest to ubuntu:rolling for Gitlab CI (diff) | |
download | firejail-342e71cd870e1949b410dfc8ee21a292aa292e2e.tar.gz firejail-342e71cd870e1949b410dfc8ee21a292aa292e2e.tar.zst firejail-342e71cd870e1949b410dfc8ee21a292aa292e2e.zip |
Add deb-apparmor build to Gitlab CI
-rw-r--r-- | .gitlab-ci.yml | 8 |
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 | ||
7 | build_ubuntu_package: | 8 | build_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 | |||
44 | build_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 | ||