mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
ci(build.yml): disable security restriction
A new security restriction in Ubuntu 24.04 prevents users from using `unshare`, so we need to disable it in order for the test to work properly.
This commit is contained in:
parent
6c975515c5
commit
b5c0290803
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -89,7 +89,9 @@ jobs:
|
|||||||
for d in *; do (cd "$d"; rm -rf ./autom4te.cache; make clean || true; make distclean || true); done
|
for d in *; do (cd "$d"; rm -rf ./autom4te.cache; make clean || true; make distclean || true); done
|
||||||
|
|
||||||
- name: Re-build bundled dependencies with no network access
|
- name: Re-build bundled dependencies with no network access
|
||||||
run: unshare --map-root-user --net make deps DEPS_CMAKE_FLAGS=-DUSE_EXISTING_SRC_DIR=ON
|
run: |
|
||||||
|
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0
|
||||||
|
unshare --map-root-user --net make deps DEPS_CMAKE_FLAGS=-DUSE_EXISTING_SRC_DIR=ON
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make CMAKE_FLAGS="-D CI_BUILD=ON"
|
run: make CMAKE_FLAGS="-D CI_BUILD=ON"
|
||||||
|
Loading…
Reference in New Issue
Block a user