Skip to content

Commit

Permalink
Build SELinux policy for Debian, Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed Feb 26, 2024
1 parent a0d9794 commit de1a315
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,39 @@ jobs:
with:
name: selinux-al2023
path: contrib/selinux/laurel.pp

build-bookworm:
runs-on: ubuntu-latest
container: debian:bookworm-slim
steps:
- name: Prepare
run: |
apt-get -qqy update
apt-get -qqy install selinux-policy-dev
- uses: actions/checkout@v2
- name: Build
run: |
make -C contrib/selinux AUDITD_VERSIONS=3
- name: Archive policy
uses: actions/upload-artifact@v3
with:
name: selinux-bookworm
path: contrib/selinux/laurel.pp

build-jammy:
runs-on: ubuntu-latest
container: ubuntu:jammy
steps:
- name: Prepare
run: |
apt-get -qqy update
apt-get -qqy install selinux-policy-dev
- uses: actions/checkout@v2
- name: Build
run: |
make -C contrib/selinux AUDITD_VERSIONS=3
- name: Archive policy
uses: actions/upload-artifact@v3
with:
name: selinux-jammy
path: contrib/selinux/laurel.pp

0 comments on commit de1a315

Please sign in to comment.