Update ci.yml

This commit is contained in:
aiden vigue 2021-06-09 22:38:27 -07:00 committed by GitHub
parent c8612cf3b7
commit f9e757457b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 12 deletions

View File

@ -8,12 +8,12 @@ on:
jobs: jobs:
build: build:
name: Build schemes name: Build prod
strategy: strategy:
matrix: matrix:
platform: scheme:
- tvOS - "JellyfinPlayer"
- iOS - "JellyfinPlayer tvOS"
runs-on: macos-latest runs-on: macos-latest
@ -27,12 +27,9 @@ jobs:
bundler-cache: true # runs 'bundle install' and caches installed gems automatically bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Install Carthage - name: Install Carthage
run: "carthage update" run: "carthage update"
- uses: mxcl/xcodebuild@v1 - name: Build!
with: run: |
xcode: ^12 xcodebuild build -project "JellyfinPlayer" \
platform: ${{ matrix.platform }} -scheme "${{ matrix.scheme }}" \
action: build # default = `test` CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
code-coverage: true # default = `false`
warnings-as-errors: true # default = `false`
configuration: release # no default, ie. `xcodebuild` decides itself