Merge pull request #183 from tokudai0000/172-create-calendar-for-welcome #189
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: | |
branches: | |
- main | |
- develop | |
# 動作バージョンの指定 | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app | |
jobs: | |
# UnitTestResult: | |
# runs-on: macos-11 # 仮想環境指定(Windows Server, Ubuntu, Mac OSをサポートする) | |
# | |
# steps: | |
# # ソースコードを取得する | |
# - uses: actions/checkout@v1 | |
# | |
# # キャッシュ | |
# - name: Cache CocoaPods files | |
# uses: actions/cache@v1 | |
# with: | |
# path: Pods | |
# key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
# restore-keys: | | |
# ${{ runner.os }}-pods- | |
# | |
# # CocoaPodsをインストールする | |
# - name: CocoaPods | |
# run: pod install | |
# | |
# # シミュレーター向けにビルド | |
# # set -o pipefail (エラー発生時終了) | |
# # bundle exec xcpretty --report html (エラー文を整形) | |
# - name: Xcode UnitTest | |
# run: set -o pipefail && | |
# xcodebuild | |
# -sdk iphonesimulator | |
# -configuration Debug | |
# -workspace univIP.xcworkspace | |
# -scheme univIP | |
# -destination 'platform=iOS Simulator,name=iPhone 11 Pro Max' | |
# -skip-testing:univIPUITests | |
# clean test | |
info: | |
runs-on: macos-11 | |
steps: | |
# チェックアウト | |
- uses: actions/checkout@v1 | |
# Xcodeの一覧出力 | |
- name: Show Xcode list | |
run: ls /Applications | grep 'Xcode' | |
# Xcodeのバージョン出力 | |
- name: Show Xcode version | |
run: xcodebuild -version | |
# 端末の一覧出力 | |
- name: Show devices | |
run: xcrun xctrace list devices |