[162] バージョン下げてみる #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |