Skip to content

Commit 7acd5bb

Browse files
committed
[CHORE] GitHub Actions CI 빌드 워크플로우 추가
1 parent 3d5ee8c commit 7acd5bb

3 files changed

Lines changed: 123 additions & 1 deletion

File tree

‎.github/workflows/ci.yml‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: [develop]
6+
push:
7+
branches: [develop]
8+
9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
build:
15+
runs-on: macos-26
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Select Xcode
22+
uses: maxim-lobanov/setup-xcode@v1
23+
with:
24+
xcode-version: "26.2"
25+
26+
- name: Cache Swift Package dependencies
27+
uses: actions/cache@v4
28+
with:
29+
path: ~/Library/Developer/Xcode/DerivedData/**/SourcePackages
30+
key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
31+
restore-keys: |
32+
${{ runner.os }}-spm-
33+
34+
- name: Resolve Swift Package dependencies
35+
run: xcodebuild -resolvePackageDependencies -project GAMSS.xcodeproj -scheme GAMSS
36+
37+
- name: Build
38+
run: |
39+
xcodebuild build \
40+
-project GAMSS.xcodeproj \
41+
-scheme GAMSS \
42+
-destination 'generic/platform=iOS Simulator' \
43+
CODE_SIGNING_ALLOWED=NO

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ iOSInjectionProject/
133133
### Xcode Patch ###
134134
*.xcodeproj/*
135135
!*.xcodeproj/project.pbxproj
136-
# !*.xcodeproj/xcshareddata/
136+
!*.xcodeproj/xcshareddata/
137137
!*.xcodeproj/project.xcworkspace/
138138
# !*.xcworkspace/contents.xcworkspacedata
139139
/*.gcno
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "2610"
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 = "708F57F23003C651008DF433"
19+
BuildableName = "GAMSS.app"
20+
BlueprintName = "GAMSS"
21+
ReferencedContainer = "container:GAMSS.xcodeproj">
22+
</BuildableReference>
23+
</BuildActionEntry>
24+
</BuildActionEntries>
25+
</BuildAction>
26+
<TestAction
27+
buildConfiguration = "Debug"
28+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
29+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30+
shouldUseLaunchSchemeArgsEnv = "YES">
31+
<Testables>
32+
</Testables>
33+
</TestAction>
34+
<LaunchAction
35+
buildConfiguration = "Debug"
36+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
37+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
38+
launchStyle = "0"
39+
useCustomWorkingDirectory = "NO"
40+
ignoresPersistentStateOnLaunch = "NO"
41+
debugDocumentVersioning = "YES"
42+
debugServiceExtension = "internal"
43+
allowLocationSimulation = "YES">
44+
<BuildableProductRunnable
45+
runnableDebuggingMode = "0">
46+
<BuildableReference
47+
BuildableIdentifier = "primary"
48+
BlueprintIdentifier = "708F57F23003C651008DF433"
49+
BuildableName = "GAMSS.app"
50+
BlueprintName = "GAMSS"
51+
ReferencedContainer = "container:GAMSS.xcodeproj">
52+
</BuildableReference>
53+
</BuildableProductRunnable>
54+
</LaunchAction>
55+
<ProfileAction
56+
buildConfiguration = "Release"
57+
shouldUseLaunchSchemeArgsEnv = "YES"
58+
savedToolIdentifier = ""
59+
useCustomWorkingDirectory = "NO"
60+
debugDocumentVersioning = "YES">
61+
<BuildableProductRunnable
62+
runnableDebuggingMode = "0">
63+
<BuildableReference
64+
BuildableIdentifier = "primary"
65+
BlueprintIdentifier = "708F57F23003C651008DF433"
66+
BuildableName = "GAMSS.app"
67+
BlueprintName = "GAMSS"
68+
ReferencedContainer = "container:GAMSS.xcodeproj">
69+
</BuildableReference>
70+
</BuildableProductRunnable>
71+
</ProfileAction>
72+
<AnalyzeAction
73+
buildConfiguration = "Debug">
74+
</AnalyzeAction>
75+
<ArchiveAction
76+
buildConfiguration = "Release"
77+
revealArchiveInOrganizer = "YES">
78+
</ArchiveAction>
79+
</Scheme>

0 commit comments

Comments
 (0)