Skip to content

Commit

Permalink
.github: Use sudo for running tests
Browse files Browse the repository at this point in the history
Ubuntu 24.04 apparently no longer allows `unshare` command for
non-privilegied users.
actions/runner-images#10443

Signed-off-by: Casper Andersson <[email protected]>
  • Loading branch information
cappe987 committed Dec 30, 2024
1 parent efa4809 commit 5db6a87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ jobs:
- name: Test
run: |
cd build
make test
# Use sudo since in Ubuntu 24.04 you can't run `unshare` when unprivilegied
sudo make test
build-aarch64:
name: Build aarch64
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5db6a87

Please sign in to comment.