1
0
mirror of https://github.com/Toxblh/MTMR.git synced 2026-01-11 09:28:38 +00:00

gem install xcpretty

This commit is contained in:
Anton Palgunov 2020-02-10 21:22:13 +00:00
parent a8ca5b3713
commit df3beb90f5

View File

@ -9,11 +9,19 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6
- name: install xcpretty
run: gem install xcpretty
- name: Force Xcode 11
run: sudo xcode-select -switch /Applications/Xcode_11.3.app
- name: Run tests
run: xcodebuild test -project MTMR.xcodeproj -scheme 'UnitTests'
run: xcodebuild test -project MTMR.xcodeproj -scheme 'UnitTests' | xcpretty -c && exit ${PIPESTATUS[0]}
- name: Build Archive
run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive