162 ci setup #184
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: [pull_request] | |
jobs: | |
test: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Select Xcode | |
run: sudo xcode-select -s "/Applications/Xcode_15.0.1.app" | |
- 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 |