-
Notifications
You must be signed in to change notification settings - Fork 0
chore: GitHub Actions CI 파일 추가, project 설정 파일 변경(#8) #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| name: Build Test | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: | ||
| - develop | ||
|
|
||
| jobs: | ||
| Build: | ||
| runs-on: macos-15 | ||
|
|
||
| steps: | ||
| # 저장소의 코드를 체크아웃 | ||
| - name: Checkout project | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Ruby (for CocoaPods) | ||
| uses: ruby/setup-ruby@v1 | ||
| with: | ||
| ruby-version: 3.2 | ||
|
|
||
| - name: Install CocoaPods | ||
| run: sudo gem install cocoapods | ||
|
|
||
| - name: Install dependencies via CocoaPods | ||
| run: pod install | ||
| working-directory: MatzipBook | ||
|
|
||
| - name: Start xcode build 🛠 | ||
| run: | | ||
| xcodebuild \ | ||
| -workspace MatzipBook/MatzipBook.xcworkspace \ | ||
| -scheme MatzipBook \ | ||
| -sdk iphonesimulator \ | ||
| -skipPackagePluginValidation \ | ||
| clean build | ||
alstjr7437 marked this conversation as resolved.
Show resolved
Hide resolved
alstjr7437 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
runs-on macOS 버전 검증 필요
macos-15러너는 현재 GitHub Actions에서 지원되지 않을 수 있습니다.macos-latest또는macos-13으로 변경을 권장합니다.🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 부분은 latest로 진행시 버전이 다운되서 build 테스트가 안될때가 있어서 15버전으로 강제했습니다!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
@alstjr7437 감사합니다! 버전 다운그레이드로 인한 빌드 실패 이슈를 해결하기 위해
macos-15를 명시적으로 지정하신 것 잘 이해했습니다.실제로
macos-latest를 사용할 때 예상과 다른 macOS 버전이 할당되어 Xcode나 iOS 시뮬레이터 호환성 문제가 발생할 수 있다는 점이 합리적인 접근 방식입니다. 특히 iOS 개발 환경에서는 Xcode와 macOS 버전 간의 호환성이 중요하기 때문에 안정적인 빌드를 위해 특정 버전을 고정하는 것이 좋은 선택입니다.🌐 Web query:
💡 Result:
As of May 27, 2025, GitHub Actions provides support for macOS 15 (Sequoia) runners, which became generally available in April 2025. (github.blog) These runners are available for all GitHub-hosted workflows and can be specified in your workflow files using the
runs-onkey with values such asmacos-15,macos-15-xlarge, ormacos-15-large.In October 2024, GitHub announced the deprecation of the macOS 12 runner image, with full retirement completed by December 3, 2024. (github.com) This means that workflows using the
macos-12label are no longer supported.For workflows requiring larger resources, GitHub offers macOS larger runners with enhanced specifications. These include:
To utilize these larger runners, update the
runs-onkey in your workflow file to the appropriate label, such asmacos-15-largeormacos-15-xlarge. (docs.github.com)For the most current information on available runner images and their specifications, refer to the GitHub Actions Changelog and the GitHub Actions Documentation.
Citations:
macOS 12Actions runner image will begin deprecation on 10/7/24 and will be fully unsupported by 12/3/24 for GitHub and by 01/13/25 for ADO actions/runner-images#10721@alstjr7437 완전히 맞는 판단이셨습니다!
확인 결과,
macos-15러너는 2025년 4월부터 GitHub Actions에서 정식 지원되고 있어 사용에 전혀 문제가 없습니다. 오히려macos-latest를 사용할 때 발생할 수 있는 예상치 못한 버전 변경으로 인한 빌드 실패를 방지하기 위해 특정 버전을 명시하신 것이 매우 현명한 접근 방식입니다.특히 iOS 개발 환경에서는 Xcode와 macOS 버전 간의 호환성이 중요하기 때문에, 안정적인 CI/CD 파이프라인을 위해
macos-15로 고정하신 결정이 좋습니다. 이전 제안을 철회하고, 현재 설정을 그대로 유지하시는 것을 권장합니다.✏️ Learnings added