ci: fix apparmor for 24.04

This commit is contained in:
tobtoht 2024-08-09 13:10:26 +02:00
parent 6a1d5f05c3
commit 02ce121029
No known key found for this signature in database
GPG key ID: E45B10DD027D2472
2 changed files with 13 additions and 0 deletions

11
.github/workflows/guix vendored Normal file
View file

@ -0,0 +1,11 @@
abi <abi/4.0>,
include <tunables/global>
# https://bugs.launchpad.net/ubuntu/+source/guix/+bug/2064115
profile guix /usr/bin/guix flags=(unconfined) {
userns,
# Site-specific additions and overrides. See local/README for details.
include if exists <local/guix>
}

View file

@ -53,6 +53,8 @@ jobs:
key: sources-${{ hashFiles('contrib/depends/packages/*') }}
- name: install dependencies
run: sudo apt update; sudo apt -y install guix git ca-certificates
- name: fix apparmor
run: sudo cp .github/workflows/guix /etc/apparmor.d/guix; sudo /etc/init.d/apparmor reload; sudo aa-enforce guix
- name: build
run: SUBSTITUTE_URLS='http://bordeaux.guix.gnu.org http://ci.guix.gnu.org' HOSTS="${{ matrix.toolchain.target }}" ./contrib/guix/guix-build
- uses: actions/upload-artifact@v4