Skip to content

Commit 2789964

Browse files
committed
update ci
1 parent ef7ed40 commit 2789964

File tree

260 files changed

+4956
-2781
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

260 files changed

+4956
-2781
lines changed

.github/workflows/swift.yml

+13-12
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ name: Swift
22

33
on:
44
pull_request:
5-
branches: [ main ]
6-
7-
pull_request:
8-
branches: [ develop ]
5+
branches: [ main, develop ]
96

107
jobs:
118

@@ -20,7 +17,9 @@ jobs:
2017

2118
build:
2219
needs: swiftLint
23-
runs-on: macos-latest
20+
env:
21+
DEVELOPER_DIR: /Applications/Xcode_13.0.app/Contents/Developer
22+
runs-on: macos-11.0
2423
steps:
2524
- uses: actions/checkout@v2
2625
- name: Install Bundle
@@ -31,20 +30,22 @@ jobs:
3130
uses: actions/upload-artifact@v2
3231
with:
3332
name: build
34-
path: derivedData/Build/Products/Debug-iphonesimulator/Addame.app
33+
path: '"derivedData/Build/Products/Debug CI-iphonesimulator/Addame.app"'
3534

3635
unitTests:
3736
needs: build
38-
runs-on: macos-latest
37+
env:
38+
DEVELOPER_DIR: /Applications/Xcode_13.0.app/Contents/Developer
39+
runs-on: macos-11.0
3940
steps:
4041
- uses: actions/checkout@v2
41-
- name: Download core tests
42-
uses: actions/download-artifact@v2
43-
with:
44-
name: coreTests
45-
path: derivedData/Build/Products/Debug-iphonesimulator/EventFormViewTests.xctest
4642
- name: Install Bundle
4743
run: bundle install
4844
- name: Run unit tests
4945
run: bundle exec fastlane unitTestLane
46+
- name: Run tests
47+
uses: actions/download-artifact@v2
48+
with:
49+
name: unitTests
50+
path: '"derivedData/Build/Products/Debug CI-iphonesimulator/EventFormViewTests.xctest"'
5051

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,7 @@ Addame/Configs/Production.xcconfig
119119
/fastlane/FastlaneRunner
120120
test_output/report.html
121121
test_output/report.junit
122+
env-vars.sh
123+
Addame/Autogenerated/AppSecrets.generated.swift
124+
Addame/Templates/AppSecrets.stencil
125+
AddameSPM/Sources/ProfileView/File.swift

Addame.xcodeproj/project.pbxproj

+132-17
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
objects = {
88

99
/* Begin PBXBuildFile section */
10-
C3186C642647F1FB00E1B69F /* AppFeature in Frameworks */ = {isa = PBXBuildFile; productRef = C3186C632647F1FB00E1B69F /* AppFeature */; };
1110
C33DFAC8261F1B4100132010 /* Environment.swift in Sources */ = {isa = PBXBuildFile; fileRef = C33DFAC7261F1B4100132010 /* Environment.swift */; };
11+
C3511D5D26EF6044004B9155 /* AppFeature in Frameworks */ = {isa = PBXBuildFile; productRef = C3511D5C26EF6044004B9155 /* AppFeature */; };
1212
C3E50CA0261B5DFA00285977 /* Addame.swift in Sources */ = {isa = PBXBuildFile; fileRef = C3E50C9F261B5DFA00285977 /* Addame.swift */; };
1313
C3E50CA4261B5DFF00285977 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C3E50CA3261B5DFF00285977 /* Assets.xcassets */; };
1414
C3E50CA7261B5DFF00285977 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C3E50CA6261B5DFF00285977 /* Preview Assets.xcassets */; };
1515
/* End PBXBuildFile section */
1616

1717
/* Begin PBXFileReference section */
18-
C33DFABA261F1A9700132010 /* ProductionCopy.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ProductionCopy.xcconfig; sourceTree = "<group>"; };
18+
C33DFABA261F1A9700132010 /* ProductionCI.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = ProductionCI.xcconfig; sourceTree = "<group>"; };
1919
C33DFABB261F1A9700132010 /* Production.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Production.xcconfig; sourceTree = "<group>"; };
20-
C33DFABC261F1A9700132010 /* DevelopmentCopy.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DevelopmentCopy.xcconfig; sourceTree = "<group>"; };
20+
C33DFABC261F1A9700132010 /* DevelopmentCI.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = DevelopmentCI.xcconfig; sourceTree = "<group>"; };
2121
C33DFABD261F1A9700132010 /* Development.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Development.xcconfig; sourceTree = "<group>"; };
2222
C33DFAC7261F1B4100132010 /* Environment.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Environment.swift; sourceTree = "<group>"; };
2323
C3E50C9C261B5DFA00285977 /* Addame.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Addame.app; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -32,7 +32,7 @@
3232
isa = PBXFrameworksBuildPhase;
3333
buildActionMask = 2147483647;
3434
files = (
35-
C3186C642647F1FB00E1B69F /* AppFeature in Frameworks */,
35+
C3511D5D26EF6044004B9155 /* AppFeature in Frameworks */,
3636
);
3737
runOnlyForDeploymentPostprocessing = 0;
3838
};
@@ -44,9 +44,9 @@
4444
children = (
4545
C33DFAC7261F1B4100132010 /* Environment.swift */,
4646
C33DFABD261F1A9700132010 /* Development.xcconfig */,
47-
C33DFABC261F1A9700132010 /* DevelopmentCopy.xcconfig */,
47+
C33DFABC261F1A9700132010 /* DevelopmentCI.xcconfig */,
4848
C33DFABB261F1A9700132010 /* Production.xcconfig */,
49-
C33DFABA261F1A9700132010 /* ProductionCopy.xcconfig */,
49+
C33DFABA261F1A9700132010 /* ProductionCI.xcconfig */,
5050
);
5151
path = Configs;
5252
sourceTree = "<group>";
@@ -107,14 +107,15 @@
107107
C3E50C9A261B5DFA00285977 /* Resources */,
108108
C36C678E26E3FC9A007CC94D /* swift-format */,
109109
C36AE8D826E8ABD6002FFF84 /* SwiftLint */,
110+
C39CB4FF26EF597C004BC15F /* ShellScript */,
110111
);
111112
buildRules = (
112113
);
113114
dependencies = (
114115
);
115116
name = Addame;
116117
packageProductDependencies = (
117-
C3186C632647F1FB00E1B69F /* AppFeature */,
118+
C3511D5C26EF6044004B9155 /* AppFeature */,
118119
);
119120
productName = TComposableAAddaMe;
120121
productReference = C3E50C9C261B5DFA00285977 /* Addame.app */;
@@ -201,6 +202,23 @@
201202
shellPath = /bin/sh;
202203
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n#if which swift-format >/dev/null; then\n # swift-format -m format -i -r ${PROJECT_DIR}\n # swift-format -m lint -r ${PROJECT_DIR}\n#else\n # echo \"warning: swift-format not installed\"\n#fi\n";
203204
};
205+
C39CB4FF26EF597C004BC15F /* ShellScript */ = {
206+
isa = PBXShellScriptBuildPhase;
207+
buildActionMask = 2147483647;
208+
files = (
209+
);
210+
inputFileListPaths = (
211+
);
212+
inputPaths = (
213+
);
214+
outputFileListPaths = (
215+
);
216+
outputPaths = (
217+
);
218+
runOnlyForDeploymentPostprocessing = 0;
219+
shellPath = /bin/sh;
220+
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n";
221+
};
204222
/* End PBXShellScriptBuildPhase section */
205223

206224
/* Begin PBXSourcesBuildPhase section */
@@ -216,7 +234,7 @@
216234
/* End PBXSourcesBuildPhase section */
217235

218236
/* Begin XCBuildConfiguration section */
219-
C3E50CA9261B5DFF00285977 /* Debug */ = {
237+
C3C1EE1C26EDFC7E00376AE6 /* Debug Development */ = {
220238
isa = XCBuildConfiguration;
221239
baseConfigurationReference = C33DFABD261F1A9700132010 /* Development.xcconfig */;
222240
buildSettings = {
@@ -277,7 +295,98 @@
277295
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
278296
SWIFT_VERSION = 5.0;
279297
};
280-
name = Debug;
298+
name = "Debug Development";
299+
};
300+
C3C1EE1D26EDFC7E00376AE6 /* Debug Development */ = {
301+
isa = XCBuildConfiguration;
302+
baseConfigurationReference = C33DFABD261F1A9700132010 /* Development.xcconfig */;
303+
buildSettings = {
304+
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
305+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
306+
CODE_SIGN_IDENTITY = "Apple Development";
307+
CODE_SIGN_STYLE = Automatic;
308+
CURRENT_PROJECT_VERSION = 2;
309+
DEVELOPMENT_ASSET_PATHS = "\"Addame/Preview Content\"";
310+
DEVELOPMENT_TEAM = 6989658CU5;
311+
ENABLE_PREVIEWS = YES;
312+
INFOPLIST_FILE = AddaMe/Info.plist;
313+
IPHONEOS_DEPLOYMENT_TARGET = 14.0;
314+
LD_RUNPATH_SEARCH_PATHS = (
315+
"$(inherited)",
316+
"@executable_path/Frameworks",
317+
);
318+
MARKETING_VERSION = 1.2.4;
319+
PRODUCT_BUNDLE_IDENTIFIER = com.addame.AddaMeIOS;
320+
PRODUCT_NAME = "$(TARGET_NAME)";
321+
PROVISIONING_PROFILE_SPECIFIER = "";
322+
SWIFT_VERSION = 5.0;
323+
TARGETED_DEVICE_FAMILY = "1,2";
324+
VERSIONING_SYSTEM = "apple-generic";
325+
};
326+
name = "Debug Development";
327+
};
328+
C3E50CA9261B5DFF00285977 /* Debug CI */ = {
329+
isa = XCBuildConfiguration;
330+
baseConfigurationReference = C33DFABC261F1A9700132010 /* DevelopmentCI.xcconfig */;
331+
buildSettings = {
332+
ALWAYS_SEARCH_USER_PATHS = NO;
333+
CLANG_ANALYZER_NONNULL = YES;
334+
CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
335+
CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
336+
CLANG_CXX_LIBRARY = "libc++";
337+
CLANG_ENABLE_MODULES = YES;
338+
CLANG_ENABLE_OBJC_ARC = YES;
339+
CLANG_ENABLE_OBJC_WEAK = YES;
340+
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
341+
CLANG_WARN_BOOL_CONVERSION = YES;
342+
CLANG_WARN_COMMA = YES;
343+
CLANG_WARN_CONSTANT_CONVERSION = YES;
344+
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
345+
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
346+
CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
347+
CLANG_WARN_EMPTY_BODY = YES;
348+
CLANG_WARN_ENUM_CONVERSION = YES;
349+
CLANG_WARN_INFINITE_RECURSION = YES;
350+
CLANG_WARN_INT_CONVERSION = YES;
351+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
352+
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
353+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
354+
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
355+
CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
356+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
357+
CLANG_WARN_STRICT_PROTOTYPES = YES;
358+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
359+
CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
360+
CLANG_WARN_UNREACHABLE_CODE = YES;
361+
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
362+
COPY_PHASE_STRIP = NO;
363+
DEBUG_INFORMATION_FORMAT = dwarf;
364+
ENABLE_STRICT_OBJC_MSGSEND = YES;
365+
ENABLE_TESTABILITY = YES;
366+
GCC_C_LANGUAGE_STANDARD = gnu11;
367+
GCC_DYNAMIC_NO_PIC = NO;
368+
GCC_NO_COMMON_BLOCKS = YES;
369+
GCC_OPTIMIZATION_LEVEL = 0;
370+
GCC_PREPROCESSOR_DEFINITIONS = (
371+
"DEBUG=1",
372+
"$(inherited)",
373+
);
374+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
375+
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
376+
GCC_WARN_UNDECLARED_SELECTOR = YES;
377+
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
378+
GCC_WARN_UNUSED_FUNCTION = YES;
379+
GCC_WARN_UNUSED_VARIABLE = YES;
380+
IPHONEOS_DEPLOYMENT_TARGET = 14.1;
381+
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
382+
MTL_FAST_MATH = YES;
383+
ONLY_ACTIVE_ARCH = YES;
384+
SDKROOT = iphoneos;
385+
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
386+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
387+
SWIFT_VERSION = 5.0;
388+
};
389+
name = "Debug CI";
281390
};
282391
C3E50CAA261B5DFF00285977 /* Release */ = {
283392
isa = XCBuildConfiguration;
@@ -336,12 +445,13 @@
336445
};
337446
name = Release;
338447
};
339-
C3E50CAC261B5DFF00285977 /* Debug */ = {
448+
C3E50CAC261B5DFF00285977 /* Debug CI */ = {
340449
isa = XCBuildConfiguration;
341-
baseConfigurationReference = C33DFABD261F1A9700132010 /* Development.xcconfig */;
450+
baseConfigurationReference = C33DFABC261F1A9700132010 /* DevelopmentCI.xcconfig */;
342451
buildSettings = {
343452
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
344453
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
454+
CODE_SIGN_IDENTITY = "Apple Development";
345455
CODE_SIGN_STYLE = Automatic;
346456
CURRENT_PROJECT_VERSION = 2;
347457
DEVELOPMENT_ASSET_PATHS = "\"Addame/Preview Content\"";
@@ -353,21 +463,23 @@
353463
"$(inherited)",
354464
"@executable_path/Frameworks",
355465
);
356-
MARKETING_VERSION = 1.0.0;
466+
MARKETING_VERSION = 1.2.4;
357467
PRODUCT_BUNDLE_IDENTIFIER = com.addame.AddaMeIOS;
358468
PRODUCT_NAME = "$(TARGET_NAME)";
469+
PROVISIONING_PROFILE_SPECIFIER = "";
359470
SWIFT_VERSION = 5.0;
360471
TARGETED_DEVICE_FAMILY = "1,2";
361472
VERSIONING_SYSTEM = "apple-generic";
362473
};
363-
name = Debug;
474+
name = "Debug CI";
364475
};
365476
C3E50CAD261B5DFF00285977 /* Release */ = {
366477
isa = XCBuildConfiguration;
367478
baseConfigurationReference = C33DFABB261F1A9700132010 /* Production.xcconfig */;
368479
buildSettings = {
369480
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
370481
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
482+
CODE_SIGN_IDENTITY = "Apple Development";
371483
CODE_SIGN_STYLE = Automatic;
372484
CURRENT_PROJECT_VERSION = 2;
373485
DEVELOPMENT_ASSET_PATHS = "\"Addame/Preview Content\"";
@@ -379,9 +491,10 @@
379491
"$(inherited)",
380492
"@executable_path/Frameworks",
381493
);
382-
MARKETING_VERSION = 1.0.0;
494+
MARKETING_VERSION = 1.2.4;
383495
PRODUCT_BUNDLE_IDENTIFIER = com.addame.AddaMeIOS;
384496
PRODUCT_NAME = "$(TARGET_NAME)";
497+
PROVISIONING_PROFILE_SPECIFIER = "";
385498
SWIFT_VERSION = 5.0;
386499
TARGETED_DEVICE_FAMILY = "1,2";
387500
VERSIONING_SYSTEM = "apple-generic";
@@ -394,7 +507,8 @@
394507
C3E50C97261B5DFA00285977 /* Build configuration list for PBXProject "Addame" */ = {
395508
isa = XCConfigurationList;
396509
buildConfigurations = (
397-
C3E50CA9261B5DFF00285977 /* Debug */,
510+
C3E50CA9261B5DFF00285977 /* Debug CI */,
511+
C3C1EE1C26EDFC7E00376AE6 /* Debug Development */,
398512
C3E50CAA261B5DFF00285977 /* Release */,
399513
);
400514
defaultConfigurationIsVisible = 0;
@@ -403,7 +517,8 @@
403517
C3E50CAB261B5DFF00285977 /* Build configuration list for PBXNativeTarget "Addame" */ = {
404518
isa = XCConfigurationList;
405519
buildConfigurations = (
406-
C3E50CAC261B5DFF00285977 /* Debug */,
520+
C3E50CAC261B5DFF00285977 /* Debug CI */,
521+
C3C1EE1D26EDFC7E00376AE6 /* Debug Development */,
407522
C3E50CAD261B5DFF00285977 /* Release */,
408523
);
409524
defaultConfigurationIsVisible = 0;
@@ -412,7 +527,7 @@
412527
/* End XCConfigurationList section */
413528

414529
/* Begin XCSwiftPackageProductDependency section */
415-
C3186C632647F1FB00E1B69F /* AppFeature */ = {
530+
C3511D5C26EF6044004B9155 /* AppFeature */ = {
416531
isa = XCSwiftPackageProductDependency;
417532
productName = AppFeature;
418533
};

Addame.xcworkspace/contents.xcworkspacedata

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)