-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (43 loc) · 1.09 KB
/
main.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
name: CI
on: [push]
# 動作バージョンの指定
env:
DEVELOPER_DIR: /Applications/Xcode_14.0.app
jobs:
build:
runs-on: macos-13
steps:
# チェックアウト
- uses: actions/checkout@v2
# CocoaPodsをインストールする
- name: CocoaPods
run: pod install
# ビルド
- name: Xcode build
run: set -o pipefail &&
xcodebuild
-sdk iphonesimulator
-configuration Debug
-workspace univIP.xcworkspace
-scheme univIP-test
build
# 単体テストの実行
- name: Xcode test
run: set -o pipefail &&
xcodebuild
-sdk iphonesimulator
-configuration Debug
-workspace univIP.xcworkspace
-scheme univIP
-destination 'platform=iOS Simulator,name=iPhone 14 Pro Max'
-skip-testing:univIPUITests
clean test
info:
runs-on: macos-13
steps:
# Xcodeの一覧出力
- name: Show Xcode list
run: ls /Applications | grep 'Xcode'
# Xcodeのバージョン出力
- name: Show Xcode version
run: xcodebuild -version