Skip to content

๐Ÿ‘ท Build & Test CI ์ถ”๊ฐ€ #1

๐Ÿ‘ท Build & Test CI ์ถ”๊ฐ€

๐Ÿ‘ท Build & Test CI ์ถ”๊ฐ€ #1

Workflow file for this run

# workflow ์˜ ์ด๋ฆ„
name: Xcode Test
on:
# Epic ๋ธŒ๋žœ์น˜์— push ๋‚˜ pull request ์ด๋ฒคํŠธ๊ฐ€ ์ผ์–ด๋‚ฌ์„๋•Œ ํ•ด๋‹น workflow ๋ฅผ trigger
push:
branches: [ '**/epic/iOS/**' ]
pull_request:
branches: [ '**/epic/iOS/**' ]
jobs:
build:
runs-on: macos-latest
steps:
# uses ํ‚ค์›Œ๋“œ๋ฅผ ํ†ตํ•ด Github Actions์—์„œ ๊ธฐ๋ณธ์œผ๋กœ ์ œ๊ณตํ•˜๋Š” ์•ก์…˜์„ ์‚ฌ์šฉ ๊ฐ€๋Šฅ. ์•„๋ž˜ ์•ก์…˜์€ repository ์— ์ฒดํฌ์•„์›ƒํ•˜๋Š” ๊ฒƒ
- uses: actions/checkout@v2
# shell ์ด์šฉํ•ด์„œ ํ•˜๋‚˜์˜ command ์ˆ˜ํ–‰
- name: ๐Ÿ›  Start xcode build
run: |
xcodebuild clean test -project iOS/MaybeGamsung/MaybeGamsung.xcodeproj -scheme MaybeGamsung -destination 'platform=iOS Simulator,name=iPhone 11 Pro,OS=latest'