mirror of
https://github.com/Toxblh/MTMR.git
synced 2026-01-11 17:38:38 +00:00
gem install xcpretty
This commit is contained in:
parent
a8ca5b3713
commit
df3beb90f5
10
.github/workflows/build-test.yml
vendored
10
.github/workflows/build-test.yml
vendored
@ -9,11 +9,19 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- 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
|
- name: Force Xcode 11
|
||||||
run: sudo xcode-select -switch /Applications/Xcode_11.3.app
|
run: sudo xcode-select -switch /Applications/Xcode_11.3.app
|
||||||
|
|
||||||
- name: Run tests
|
- 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
|
- name: Build Archive
|
||||||
run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive
|
run: xcodebuild archive -project "MTMR.xcodeproj" -scheme "MTMR" -archivePath Release/App.xcarchive
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user