test: 온보딩, kakaoLogin UITest 코드 작성 #38
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
| name: Build App | |
| on: | |
| push: | |
| branches: [ "develop" ] | |
| pull_request: | |
| branches: [ "develop" ] | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: latest-stable | |
| - name: Create xcconfig files | |
| run: | | |
| # Debug.xcconfig 생성 | |
| touch Common.xcconfig | |
| echo "✅ xcconfig files created" | |
| - name: Build project | |
| run: | | |
| # .xcodeproj 파일 찾기 | |
| PROJECT=$(find . -maxdepth 2 -name "*.xcodeproj") | |
| SCHEME=$(basename "$PROJECT" .xcodeproj) | |
| echo "Found Project: $PROJECT" | |
| echo "Found Scheme: $SCHEME" | |
| xcodebuild -project "$PROJECT" \ | |
| -scheme "$SCHEME" \ | |
| -configuration Debug \ | |
| -skipMacroValidation \ | |
| -destination "platform=iOS Simulator,name=iPhone 16 Pro,OS=26.2" \ | |
| clean build |