Style/#360 공통퀘스트 UI 구현 #250
Workflow file for this run
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: iOS build test | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| jobs: | |
| build: | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set Xcode version | |
| run: sudo xcode-select -s /Applications/Xcode_16.4.app | |
| - name: Generate xcconfig | |
| run: | | |
| mkdir -p ByeBoo-iOS/Data/Config | |
| echo "BASE_URL = ${BASE_URL}" > ByeBoo-iOS/Data/Config/Config.xcconfig | |
| env: | |
| BASE_URL: ${{ secrets.BASE_URL }} | |
| - name: Generate GoogleService-Info.plist | |
| run: | | |
| echo "${GOOGLE_SERVICE_INFO_BASE64}" | base64 --decode > ByeBoo-iOS/GoogleService-Info.plist | |
| env: | |
| GOOGLE_SERVICE_INFO_BASE64: ${{ secrets.GOOGLE_SERVICE_INFO_BASE64 }} | |
| - name: Build with xcodebuild | |
| run: | | |
| DEVICE=$(xcrun simctl list devices available | grep "iPhone" | head -n 1 | awk -F '(' '{print $1}' | sed 's/^[[:space:]]*//;s/[[:space:]]*$//') | |
| echo "Using simulator: $DEVICE" | |
| set -o pipefail | |
| xcodebuild \ | |
| -project ByeBoo-iOS/ByeBoo-iOS.xcodeproj \ | |
| -scheme ByeBoo-iOS \ | |
| -sdk iphonesimulator \ | |
| -destination "platform=iOS Simulator,name=${DEVICE}" \ | |
| clean build | xcpretty | |