This repository has been archived by the owner on May 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
70 lines (61 loc) ยท 2.07 KB
/
REVIEW_CODE.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: ์ฝ๋ ๊ฒ์ฆ์ ์์ํฉ๋๋ค.
on:
# PR ์ด๋ฒคํธ๊ฐ ๋ฐ์ํ ๋ ์ก์
์์
pull_request:
branches:
- '*'
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
guard-commits:
name: ์ปค๋ฐ ๊ฒ์ฆ์ ์์ํฉ๋๋ค
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: ์ปค๋ฐ ์ฒดํฌ
run: |
chmod +x .github/scripts/GUARD_COMMITS.sh
.github/scripts/GUARD_COMMITS.sh
build-xcproject:
needs: guard-commits
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:
needs: guard-commits
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:
needs: guard-commits
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'