Skip to content

Commit f602f3e

Browse files
committed
Add macOS-CI scheme
1 parent 2ac00e6 commit f602f3e

File tree

4 files changed

+190
-14
lines changed

4 files changed

+190
-14
lines changed

.github/workflows/CI_macOS.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,5 @@ jobs:
2323
- name: Xcode version
2424
run: /usr/bin/xcodebuild -version
2525

26-
- name: Build and Test BeChattedAuth
27-
run: xcodebuild clean build test -project BeChattedAuth/BeChattedAuth.xcodeproj -scheme "BeChattedAuth" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES
28-
29-
- name: Build and Test BeChattedUserInputValidation
30-
run: xcodebuild clean build test -project BeChattedUserInputValidation/BeChattedUserInputValidation.xcodeproj -scheme "BeChattedUserInputValidation" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES
31-
32-
- name: Build and Test BeChattedChannels
33-
run: xcodebuild clean build test -project BeChattedChannels/BeChattedChannels.xcodeproj -scheme "BeChattedChannels" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES
34-
35-
- name: Build and Test BeChattedNetwork
36-
run: xcodebuild clean build test -project BeChattedNetwork/BeChattedNetwork.xcodeproj -scheme "BeChattedNetwork" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES
37-
38-
- name: Build and Test BeChatted
39-
run: xcodebuild clean build test -project BeChatted/BeChatted.xcodeproj -scheme "BeChatted" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES
26+
- name: Build and Test macOS-CI
27+
run: xcodebuild clean build test -workspace BeChatted.xcworkspace -scheme "macOS-CI" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk macosx -destination "platform=macOS" ONLY_ACTIVE_ARCH=YES

BeChatted.xcworkspace/contents.xcworkspacedata

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1540"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES"
8+
buildArchitectures = "Automatic">
9+
<BuildActionEntries>
10+
<BuildActionEntry
11+
buildForTesting = "YES"
12+
buildForRunning = "YES"
13+
buildForProfiling = "YES"
14+
buildForArchiving = "YES"
15+
buildForAnalyzing = "YES">
16+
<BuildableReference
17+
BuildableIdentifier = "primary"
18+
BlueprintIdentifier = "2EB37C912B873791003990B0"
19+
BuildableName = "BeChattedTests.xctest"
20+
BlueprintName = "BeChattedTests"
21+
ReferencedContainer = "container:BeChatted/BeChatted.xcodeproj">
22+
</BuildableReference>
23+
</BuildActionEntry>
24+
<BuildActionEntry
25+
buildForTesting = "YES"
26+
buildForRunning = "YES"
27+
buildForProfiling = "YES"
28+
buildForArchiving = "YES"
29+
buildForAnalyzing = "YES">
30+
<BuildableReference
31+
BuildableIdentifier = "primary"
32+
BlueprintIdentifier = "2EDB71112AF2B52800243018"
33+
BuildableName = "BeChattedAuthTests.xctest"
34+
BlueprintName = "BeChattedAuthTests"
35+
ReferencedContainer = "container:BeChattedAuth/BeChattedAuth.xcodeproj">
36+
</BuildableReference>
37+
</BuildActionEntry>
38+
<BuildActionEntry
39+
buildForTesting = "YES"
40+
buildForRunning = "YES"
41+
buildForProfiling = "YES"
42+
buildForArchiving = "YES"
43+
buildForAnalyzing = "YES">
44+
<BuildableReference
45+
BuildableIdentifier = "primary"
46+
BlueprintIdentifier = "2EA048412BBE7CC4000525C9"
47+
BuildableName = "BeChattedChannelsTests.xctest"
48+
BlueprintName = "BeChattedChannelsTests"
49+
ReferencedContainer = "container:BeChattedChannels/BeChattedChannels.xcodeproj">
50+
</BuildableReference>
51+
</BuildActionEntry>
52+
<BuildActionEntry
53+
buildForTesting = "YES"
54+
buildForRunning = "YES"
55+
buildForProfiling = "YES"
56+
buildForArchiving = "YES"
57+
buildForAnalyzing = "YES">
58+
<BuildableReference
59+
BuildableIdentifier = "primary"
60+
BlueprintIdentifier = "2E95537A2BE3B8D0002E23B2"
61+
BuildableName = "BeChattedNetworkTests.xctest"
62+
BlueprintName = "BeChattedNetworkTests"
63+
ReferencedContainer = "container:BeChattedNetwork/BeChattedNetwork.xcodeproj">
64+
</BuildableReference>
65+
</BuildActionEntry>
66+
<BuildActionEntry
67+
buildForTesting = "YES"
68+
buildForRunning = "YES"
69+
buildForProfiling = "YES"
70+
buildForArchiving = "YES"
71+
buildForAnalyzing = "YES">
72+
<BuildableReference
73+
BuildableIdentifier = "primary"
74+
BlueprintIdentifier = "2E8A72552AF4002E0075FF43"
75+
BuildableName = "BeChattedUserInputValidationTests.xctest"
76+
BlueprintName = "BeChattedUserInputValidationTests"
77+
ReferencedContainer = "container:BeChattedUserInputValidation/BeChattedUserInputValidation.xcodeproj">
78+
</BuildableReference>
79+
</BuildActionEntry>
80+
</BuildActionEntries>
81+
</BuildAction>
82+
<TestAction
83+
buildConfiguration = "Debug"
84+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
85+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
86+
shouldUseLaunchSchemeArgsEnv = "YES">
87+
<TestPlans>
88+
<TestPlanReference
89+
reference = "container:macOS-CI.xctestplan"
90+
default = "YES">
91+
</TestPlanReference>
92+
</TestPlans>
93+
</TestAction>
94+
<LaunchAction
95+
buildConfiguration = "Debug"
96+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
97+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
98+
launchStyle = "0"
99+
useCustomWorkingDirectory = "NO"
100+
ignoresPersistentStateOnLaunch = "NO"
101+
debugDocumentVersioning = "YES"
102+
debugServiceExtension = "internal"
103+
allowLocationSimulation = "YES">
104+
</LaunchAction>
105+
<ProfileAction
106+
buildConfiguration = "Release"
107+
shouldUseLaunchSchemeArgsEnv = "YES"
108+
savedToolIdentifier = ""
109+
useCustomWorkingDirectory = "NO"
110+
debugDocumentVersioning = "YES">
111+
<MacroExpansion>
112+
<BuildableReference
113+
BuildableIdentifier = "primary"
114+
BlueprintIdentifier = "2EB37C912B873791003990B0"
115+
BuildableName = "BeChattedTests.xctest"
116+
BlueprintName = "BeChattedTests"
117+
ReferencedContainer = "container:BeChatted/BeChatted.xcodeproj">
118+
</BuildableReference>
119+
</MacroExpansion>
120+
</ProfileAction>
121+
<AnalyzeAction
122+
buildConfiguration = "Debug">
123+
</AnalyzeAction>
124+
<ArchiveAction
125+
buildConfiguration = "Release"
126+
revealArchiveInOrganizer = "YES">
127+
</ArchiveAction>
128+
</Scheme>

macOS-CI.xctestplan

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"configurations" : [
3+
{
4+
"id" : "DB8C6058-C836-4F13-AB17-EF5897DA499B",
5+
"name" : "Test Scheme Action",
6+
"options" : {
7+
8+
}
9+
}
10+
],
11+
"defaultOptions" : {
12+
13+
},
14+
"testTargets" : [
15+
{
16+
"parallelizable" : true,
17+
"target" : {
18+
"containerPath" : "container:BeChatted\/BeChatted.xcodeproj",
19+
"identifier" : "2EB37C912B873791003990B0",
20+
"name" : "BeChattedTests"
21+
}
22+
},
23+
{
24+
"parallelizable" : true,
25+
"target" : {
26+
"containerPath" : "container:BeChattedAuth\/BeChattedAuth.xcodeproj",
27+
"identifier" : "2EDB71112AF2B52800243018",
28+
"name" : "BeChattedAuthTests"
29+
}
30+
},
31+
{
32+
"parallelizable" : true,
33+
"target" : {
34+
"containerPath" : "container:BeChattedChannels\/BeChattedChannels.xcodeproj",
35+
"identifier" : "2EA048412BBE7CC4000525C9",
36+
"name" : "BeChattedChannelsTests"
37+
}
38+
},
39+
{
40+
"parallelizable" : true,
41+
"target" : {
42+
"containerPath" : "container:BeChattedNetwork\/BeChattedNetwork.xcodeproj",
43+
"identifier" : "2E95537A2BE3B8D0002E23B2",
44+
"name" : "BeChattedNetworkTests"
45+
}
46+
},
47+
{
48+
"parallelizable" : true,
49+
"target" : {
50+
"containerPath" : "container:BeChattedUserInputValidation\/BeChattedUserInputValidation.xcodeproj",
51+
"identifier" : "2E8A72552AF4002E0075FF43",
52+
"name" : "BeChattedUserInputValidationTests"
53+
}
54+
}
55+
],
56+
"version" : 1
57+
}

0 commit comments

Comments
 (0)