Skip to content

Minor improvements

Minor improvements #66

Workflow file for this run

name: Build and Test
on:
workflow_dispatch:
push:
paths:
- "Sources/**"
- "Tests/**"
- "!Sources/Documentation.docc/**"
pull_request:
paths:
- "Sources/**"
- "Tests/**"
- "!Sources/Documentation.docc/**"
jobs:
iOS:
name: Build and test on iOS
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Build
run: xcodebuild build-for-testing -scheme YouTubePlayerKit -destination 'platform=iOS Simulator,name=iPhone 14'
- name: Test
run: xcodebuild test-without-building -scheme YouTubePlayerKit -destination 'platform=iOS Simulator,name=iPhone 14'
macOS:
name: Build and test on macOS
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Test
run: swift test -v