[Feat] CI 파이프라인 구축 #5
Workflow file for this run
This file contains 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: BudgetBuddies Continous Integration | |
on: | |
push: | |
branches: [ "jayn2u" ] | |
pull_request: | |
branches: [ "develop" ] | |
jobs: | |
build-and-test: | |
name: 빌드 및 테스트 | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install mise | |
run: | | |
curl https://mise.run | sh | |
echo "$HOME/.local/bin" >> $GITHUB_PATH | |
- name: Setup Xcode version | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Move to tuist directory | |
run: cd BudgetBuddies | |
- name: Use tuist latest version | |
run: mise install tuist | |
- name: Install dependencies | |
run: mise run tuist install | |
- name: Generate Xcode project | |
run: tuist generate | |
- name: Build | |
run: | | |
xcodebuild \ | |
-workspace BudgetBuddies/BudgetBuddies.xcworkspace \ | |
-scheme BudgetBuddies 'platform=iOS Simulator, OS=latest, name=iPhone 15 Pro' \ | |
-configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO |