ci: run on ubuntu 24.04 & enable make check.
This commit is contained in:
parent
afb1831fc3
commit
1e28428574
3 changed files with 13 additions and 6 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
|
@ -8,17 +8,16 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
# - ubuntu-24.04
|
||||
- ubuntu-24.04
|
||||
- ubuntu-22.04
|
||||
mode:
|
||||
- default
|
||||
- full-system-policy
|
||||
steps:
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install Build dependencies
|
||||
- name: Install Build dependencies
|
||||
run: |
|
||||
sudo apt-get update -q
|
||||
sudo apt-get install -y \
|
||||
|
|
@ -39,12 +38,15 @@ jobs:
|
|||
run: sudo dpkg --install ../apparmor.d_*_amd64.deb || true
|
||||
|
||||
- name: Reload AppArmor
|
||||
run: |
|
||||
run: |
|
||||
sudo systemctl restart apparmor.service || true
|
||||
sudo systemctl status apparmor.service
|
||||
|
||||
- name: Ensure compatibility with some AppArmor userspace tools
|
||||
run: sudo aa-enforce /etc/apparmor.d/aa-notify
|
||||
run:
|
||||
if [[ ${{ matrix.os }} != ubuntu-24.04 ]]; then
|
||||
sudo aa-enforce /etc/apparmor.d/aa-notify
|
||||
fi
|
||||
|
||||
- name: Show AppArmor log and rules
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue