Added PrivacyInfo.xcprivacy #26
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/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 WhatsNewKit -destination 'platform=iOS Simulator,name=iPhone 14' | |
- name: Test | |
run: xcodebuild test-without-building -scheme WhatsNewKit -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 |