Skip to content

Commit

Permalink
👷 Xcode 빌드 & 테스트 CI 구축
Browse files Browse the repository at this point in the history
  • Loading branch information
SwiftyJunnos committed Nov 25, 2023
1 parent a0f20b9 commit cc51978
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/Xcode_build_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Xcode_build_test

on:
push:
branches: ['iOS/epic/xcode-ci']
pull_request:
branches:
- 'iOS/release'
- 'iOS/epic/**'
types: [assigned, labeled, opened, synchronize, reopened]

jobs:
build-and-test:
runs-on: macos-latest
env:
working-directory: ./iOS
strategy:
matrix:
package: [MSCoreKit, MSFoundation, MSUIKit]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Xcode Setup
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0.1'

- name: Build ${{ matrix.package }}
run: xcodebuild \
-scheme ${{ matrix.package }} \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 15' \
build

- name: Test ${{ matrix.package }}
run: xcodebuild test \
-scheme ${{ matrix.package }} \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0'

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cc51978

Please sign in to comment.