Skip to content

Commit

Permalink
ci(github): add build for full-system-policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
roddhjav committed Jan 23, 2024
1 parent 46cb726 commit 7e0f337
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -20,6 +25,9 @@ jobs:
- name: Build the apparmor.d package
run: |
if [[ ${{ matrix.mode }} == full-system-policy ]]; then
echo "\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
Expand Down

0 comments on commit 7e0f337

Please sign in to comment.