Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

[์ˆ˜์ •] README.md (#4) #10

[์ˆ˜์ •] README.md (#4)

[์ˆ˜์ •] README.md (#4) #10

Workflow file for this run

name: ์ฝ”๋“œ ๊ฒ€์ฆ์„ ์‹œ์ž‘ํ•ฉ๋‹ˆ๋‹ค.
on:
# ์ œ๊ฑฐ
push:
branches:
- '*'
# PR ์ด๋ฒคํŠธ๊ฐ€ ๋ฐœ์ƒํ•  ๋•Œ ์•ก์…˜ ์‹œ์ž‘
pull_request:
branches:
- '*'
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build-xcproject:
name: ์•ฑํ”„๋กœ์ ํŠธ๋ฅผ ๋นŒ๋“œํ•ฉ๋‹ˆ๋‹ค
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Xcode 15.0 ์„ ํƒ
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- name: ๋นŒ๋“œ
run: |
xcodebuild build -project SwiftCinema.xcodeproj -scheme SwiftCinema -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest'
cd ~/Library/Developer/Xcode/DerivedData/SwiftCinema-*/Build/Products/Debug-iphonesimulator/SwiftCinema.app
if test -d /Frameworks; then
echo "There's the framework here"
else
echo "There's no the framework here"
exit 1
fi
build-package:
name: ์Šค์œ„ํ”„ํŠธ ํŒจํ‚ค์ง€๋ฅผ ๋นŒ๋“œ ํ•ฉ๋‹ˆ๋‹ค
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Xcode 15.0 ์„ ํƒ
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- name: ๋นŒ๋“œ
run: |
cd swift-cinema
xcodebuild build -scheme swift-cinema -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest'
test-package:
name: ์Šค์œ„ํ”„ํŠธ ํŒจํ‚ค์ง€๋ฅผ ํ…Œ์ŠคํŠธ ํ•ฉ๋‹ˆ๋‹ค
runs-on: macos-13
steps:
- uses: actions/checkout@v4
- name: Xcode 15.0 ์„ ํƒ
run: sudo xcode-select -s /Applications/Xcode_15.0.app
- name: ๋นŒ๋“œ
run: |
cd swift-cinema
xcodebuild test -scheme FetcherTests -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest'