mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-24 14:06:47 +01:00
ci(github): add build for full-system-policy.
This commit is contained in:
parent
46cb726834
commit
d3751d3a63
1 changed files with 8 additions and 0 deletions
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
@ -5,6 +5,11 @@ on: [push, pull_request, workflow_dispatch]
|
|||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
strategy:
|
||||
matrix:
|
||||
mode:
|
||||
- default
|
||||
- full-system-policy
|
||||
steps:
|
||||
|
||||
- name: Check out repository code
|
||||
|
@ -20,6 +25,9 @@ jobs:
|
|||
|
||||
- name: Build the apparmor.d package
|
||||
run: |
|
||||
if [[ ${{ matrix.mode }} == full-system-policy ]]; then
|
||||
echo -e "\noverride_dh_auto_build:\n\tmake full" >> debian/rules
|
||||
fi
|
||||
VERSION="0.$(git rev-list --count HEAD)-1"
|
||||
dch --newversion="$VERSION" --urgency=medium --distribution=stable --controlmaint "Release $VERSION"
|
||||
dpkg-buildpackage -b -d --no-sign
|
||||
|
|
Loading…
Reference in a new issue