ci: disable sandbox for status-go iOS builds
Otherwise we get weird failures like these: ``` clang-11: error: cannot use 'cpp-output' output with multiple -arch options clang-11: error: invalid argument '-mmacos-version-min=10.12' not allowed with '-miphoneos-version-min=8.0' clang-11: error: invalid argument '-mmacos-version-min=10.12' not allowed with '-miphoneos-version-min=8.0' ``` Depends on: https://github.com/status-im/status-jenkins-lib/pull/47 Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
896ce9507a
commit
1e37ff91db
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.5.1'
|
||||
library 'status-jenkins-lib@v1.5.3'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.5.1'
|
||||
library 'status-jenkins-lib@v1.5.3'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux' }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.5.1'
|
||||
library 'status-jenkins-lib@v1.5.3'
|
||||
|
||||
/* Options section can't access functions in objects. */
|
||||
def isPRBuild = utils.isPRBuild()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.5.1'
|
||||
library 'status-jenkins-lib@v1.5.3'
|
||||
|
||||
pipeline {
|
||||
agent { label params.AGENT_LABEL }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.5.1'
|
||||
library 'status-jenkins-lib@v1.5.3'
|
||||
|
||||
pipeline {
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.5.1'
|
||||
library 'status-jenkins-lib@v1.5.3'
|
||||
|
||||
pipeline {
|
||||
agent { label 'macos' }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
library 'status-jenkins-lib@v1.5.1'
|
||||
library 'status-jenkins-lib@v1.5.3'
|
||||
|
||||
pipeline {
|
||||
agent { label 'linux' }
|
||||
|
|
|
@ -9,7 +9,7 @@ max-jobs = auto
|
|||
# Helps avoid removing currently used dependencies via garbage collection
|
||||
keep-derivations = true
|
||||
keep-outputs = true
|
||||
# Extra isolation for network and filesystem, doesn't work on MacOS
|
||||
build-use-sandbox = false
|
||||
# Some builds on MacOS have issue with sandbox so they are disabled with __noChroot.
|
||||
sandbox = relaxed
|
||||
# Enable Nix v2 interface.
|
||||
experimental-features = nix-command
|
||||
|
|
|
@ -18,6 +18,10 @@ in buildGoPackage {
|
|||
inherit meta;
|
||||
inherit (source) src goPackagePath;
|
||||
|
||||
# Sandbox causes Xcode issues on MacOS. Requires sandbox=relaxed.
|
||||
# https://github.com/status-im/status-mobile/pull/13912
|
||||
__noChroot = (platform == "ios");
|
||||
|
||||
extraSrcPaths = [ gomobile ];
|
||||
nativeBuildInputs = [ gomobile removeReferencesTo ]
|
||||
++ optional (platform == "android") openjdk
|
||||
|
|
Loading…
Reference in New Issue