Skip to content

Commit 6edfab3

Browse files
author
shadow-light
committed
tooling: disable apparmor in CI
1 parent f6e7fcd commit 6edfab3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,5 +123,8 @@ jobs:
123123
APPLE_ID: ${{ secrets.APPLE_ID_EMAIL }}
124124
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}
125125
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
126+
- if: github.event.inputs.run_tests != 'false' && runner.os == 'Linux'
127+
# Disable apparmor so doesn't prevent Electron launching
128+
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
126129
- if: github.event.inputs.run_tests != 'false'
127130
run: .bin/audit_e2e_electron

0 commit comments

Comments
 (0)