[Chore] build test #138
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 CI Build (Tuist + Secrets) | |
| 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: Install Tuist | |
| run: brew install tuist | |
| - name: Generate xcconfig | |
| run: | | |
| mkdir -p SupportingFiles | |
| echo "BASE_URL = ${BASE_URL}" > SupportingFiles/Secrets.xcconfig | |
| env: | |
| BASE_URL: ${{ secrets.BASE_URL }} | |
| - name: Generate Xcode project with Tuist | |
| run: | | |
| tuist install | |
| tuist generate --no-open | |
| - name: Build with xcodebuild | |
| run: | | |
| set -o pipefail | |
| xcodebuild \ | |
| -workspace Bitnagil.xcworkspace \ | |
| -scheme App \ | |
| -sdk iphonesimulator \ | |
| -destination 'generic/platform=iOS Simulator' \ | |
| clean build |