summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-02-26 04:49:11 -0500
committerSeth Flynn <[email protected]>2025-02-26 04:49:11 -0500
commit186c18815de7af02837c0dfc10d50a3fe508a4f2 (patch)
treec53ce9ee284b45c87f56490c69bb064e3d588d42 /.github
parent99b8b8320a62da18655f1c5f1f67e62a7ce25af5 (diff)
ci: loosen apparmor restrictions to build lix
https://git.lix.systems/lix-project/lix/issues/545
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 7b721b9..014b099 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -31,6 +31,13 @@ jobs:
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
+ # Only required for building Lix
+ # TODO: Remove after https://git.lix.systems/lix-project/lix/issues/545 is fixed
+ - name: Loosen AppArmor Restrictions
+ run: |
+ sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
+ sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
+
- name: Checkout repository
uses: actions/checkout@v4