Skip to content

Commit

Permalink
no message (+28 squashed commits)
Browse files Browse the repository at this point in the history
Squashed commits:
[759adba] no message
[498158d] no message
[63dc4d1] no message
[4683840] no message
[07afcfc] no message
[1da24bb] no message
[d648fb0] no message
[4ca9e72] no message
[c8cdb34] no message
[3e9ee4a] no message
[6151ee0] no message
[1951ae3] no message
[cfeba44] no message
[e89be91] no message
[0678b38] no message
[6d31a62] no message
[293cfc4] no message
[1a2f8a9] no message
[49e0328] no message
[bbef6df] no message
[bcf9431] no message
[e53bb70] no message
[46eca77] no message
[200c80e] no message
[9992540] no message
[3c4dde2] no message
[78cc614] 모든 PR 에 대해서 스크립트 돌아가도록 수정
[eeb9c7f] [추가] KuringApp 스킴 빌드 스크립트 추가 및 빌드 버전 iOS16으로 수정
  • Loading branch information
x-0o0 committed Oct 8, 2023
1 parent 9888341 commit 55469af
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/BUILD_APP_TARGET_iOS16.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 쿠링 앱타겟 최소 버전에서 빌드하기

on:
push:
branches: [ main ]

concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: macos-13 #최신버전
steps:
# 코드를 체크아웃 합니다.
- name: Checkout repository
uses: actions/checkout@v2

# Xcode 버전을 설정합니다.
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0'

# KuringModulePackage 스킴을 빌드합니다.
# - name: KuringModulePackage 빌드
# run: |
# cd KuringApp
# xcodebuild build -scheme KuringModulePackage -destination 'platform=iOS Simulator,OS=16.0,name=iPhone 14 Pro' CODE_SIGNING_REQUIRED=NO

# KuringApp 스킴을 빌드합니다.
- name: KuringApp 빌드
run: |
cd KuringApp
xcodebuild build -scheme KuringApp -destination 'platform=iOS Simulator,OS=16.2,name=iPhone 14 Pro' CODE_SIGNING_REQUIRED=NO
57 changes: 57 additions & 0 deletions .github/workflows/BUILD_APP_TARGET_iOS17.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: 쿠링 앱타겟 iOS17에서 빌드하기

on:
issue_comment:
types: [created, edited]

jobs:
build:
if: github.event.issue.pull_request && contains(github.event.comment.body, '/ios17')
runs-on: macos-13 #최신버전
steps:
# 빌드 요청 시작
- name: Build iOS17
run: |
echo "start build"
# iOS17 빌드 응답 커멘트
- name: Add Build comment
uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '🔨 iOS 17.0 iPhone 14 Pro 에서 앱타겟을 빌드합니다.'
})
# 코드를 체크아웃 합니다.
- name: Checkout repository
uses: actions/checkout@v2

# Xcode 버전을 설정합니다.
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0'

# KuringApp 스킴을 빌드합니다.
- name: KuringApp 빌드
run: |
cd KuringApp
xcodebuild build -scheme KuringApp -destination 'platform=iOS Simulator,OS=17.0,name=iPhone 14 Pro' CODE_SIGNING_REQUIRED=NO
# 빌드 성공시 커멘트
- name: Add Build comment
uses: actions/github-script@v5
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '📬 테스트가 종료되었습니다. Actions에서 결과를 확인해주세요.'
})
2 changes: 2 additions & 0 deletions KuringApp/KuringApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 16;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -456,6 +457,7 @@
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 16;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down

0 comments on commit 55469af

Please sign in to comment.