mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
update CI for linux to fix setuid_sandbox error
This commit is contained in:
@@ -34,10 +34,6 @@ if (dependenciesFingerprint.isOutdated()) {
|
||||
|
||||
if (process.platform === 'win32') deleteMsbuildFromPath()
|
||||
|
||||
if(process.platform === 'linux') {
|
||||
childProcess.execSync('sysctl kernel.unprivileged_userns_clone=1')
|
||||
}
|
||||
|
||||
installScriptDependencies(ci)
|
||||
installApm(ci)
|
||||
childProcess.execFileSync(
|
||||
|
||||
@@ -57,6 +57,11 @@ jobs:
|
||||
- script: script/lint
|
||||
displayName: Run linter
|
||||
|
||||
- script: |
|
||||
sudo chown root chrome-sandbox
|
||||
chmod 4755 chrome-sandbox
|
||||
displayName: Tweaking chrome-sandbox binary
|
||||
|
||||
- script: script/build --no-bootstrap --create-debian-package --create-rpm-package --compress-artifacts
|
||||
env:
|
||||
GITHUB_TOKEN: $(GITHUB_TOKEN)
|
||||
|
||||
Reference in New Issue
Block a user