Skip to content

Commit

Permalink
fix(ci): increase ulimit for ios test
Browse files Browse the repository at this point in the history
Signed-off-by: Godefroy Ponsinet <godefroy.ponsinet@outlook.com>
  • Loading branch information
90dy committed Aug 22, 2019
1 parent d693580 commit bb90c89
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -644,7 +644,7 @@ jobs:
working_directory: ~/go/src/berty.tech/client
command: |
# too many open files
ulimit -S -n 10240 && make test.adhoc.ios
ulimit -Sn 10240 && make test.adhoc.ios
- ios_save_cache:
type: staff-test
Expand Down Expand Up @@ -761,7 +761,7 @@ jobs:
working_directory: ~/go/src/berty.tech/client
command: |
# too many open files
ulimit -S -n 10240 && make test.adhoc.ios
ulimit -Sn 65536 && make test.adhoc.ios
- ios_save_cache:
type: yolo-test
Expand Down
7 changes: 6 additions & 1 deletion client/ios/Berty.xcodeproj/project.pbxproj
Expand Up @@ -5,6 +5,7 @@
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
Expand Down Expand Up @@ -40,6 +41,8 @@
F8799D7B2136F44E003B9FD7 /* CoreModule.swift in Sources */ = {isa = PBXBuildFile; fileRef = F8799D782136F3EA003B9FD7 /* CoreModule.swift */; };
F893F14A22F88EAA00A4EB3A /* PushKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F893F12322F88EAA00A4EB3A /* PushKit.framework */; };
F893F19322F8943400A4EB3A /* core.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F8EF7F472136A10500FDCCB5 /* core.framework */; };
F8C706CD230D9DE200F98C9A /* libyoga.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA51DF850E9000B6D8A /* libyoga.a */; };
F8C706CE230D9DEF00F98C9A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -444,6 +447,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
F8C706CE230D9DEF00F98C9A /* libReact.a in Frameworks */,
F8C706CD230D9DE200F98C9A /* libyoga.a in Frameworks */,
B4DB1353CBB3816CE8622EF6 /* libPods-Berty.a in Frameworks */,
F893F19322F8943400A4EB3A /* core.framework in Frameworks */,
F893F14A22F88EAA00A4EB3A /* PushKit.framework in Frameworks */,
Expand Down Expand Up @@ -883,7 +888,7 @@
13B07F861A680F5B00A75B9A = {
DevelopmentTeam = WMBQ84HN4T;
LastSwiftMigration = "";
ProvisioningStyle = Manual;
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.BackgroundModes = {
enabled = 1;
Expand Down
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildSystemType</key>
<string>Original</string>
</dict>
<dict/>
</plist>
8 changes: 4 additions & 4 deletions client/ios/Podfile
Expand Up @@ -94,11 +94,11 @@ post_install do |installer|
# "Multiple commands produce ... libReact.a"
# "Multiple commands produce ... libyoga.a"

# targets_to_ignore = %w(React yoga)
targets_to_ignore = %w(React yoga)

# if targets_to_ignore.include? target.name
# target.remove_from_project
# end
if targets_to_ignore.include? target.name
target.remove_from_project
end

if target.name == 'react-native-config'
phase = target.project.new(Xcodeproj::Project::Object::PBXShellScriptBuildPhase)
Expand Down
30 changes: 19 additions & 11 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bb90c89

Please sign in to comment.