Updated README.md #48
Workflow file for this run
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: Build and Test | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "Sources/**" | |
- "Tests/**" | |
- "!Sources/VanMoofKit/Documentation.docc/**" | |
pull_request: | |
paths: | |
- "Sources/**" | |
- "Tests/**" | |
- "!Sources/VanMoofKit/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 VanMoofKit-Package -destination 'platform=iOS Simulator,name=iPhone 14' | |
- name: Test | |
run: xcodebuild test-without-building -scheme VanMoofKit-Package -destination 'platform=iOS Simulator,name=iPhone 14' | |
watchOS: | |
name: Build and test on watchOS | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: xcodebuild build-for-testing -scheme VanMoofKit-Package -destination 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)' | |
- name: Test | |
run: xcodebuild test-without-building -scheme VanMoofKit-Package -destination 'platform=watchOS Simulator,name=Apple Watch Series 8 (45mm)' | |
tvOS: | |
name: Build and test on tvOS | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: xcodebuild build-for-testing -scheme VanMoofKit-Package -destination 'platform=tvOS Simulator,name=Apple TV' | |
- name: Test | |
run: xcodebuild test-without-building -scheme VanMoofKit-Package -destination 'platform=tvOS Simulator,name=Apple TV' |