-
-
Notifications
You must be signed in to change notification settings - Fork 25
22 lines (16 loc) · 800 Bytes
/
swift.yml
File metadata and controls
22 lines (16 loc) · 800 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Swift
on:
pull_request:
branches: [ master ]
types: [ assigned, opened, synchronize, reopened ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Generate project
run: swift package generate-xcodeproj
- name: Build
run: xcodebuild clean build -project "HealthKitReporter.xcodeproj" -scheme "HealthKitReporter-Package" -destination "platform=iOS Simulator,name=iPhone 12 Pro,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO
- name: Run tests
run: xcodebuild clean test -project "HealthKitReporter.xcodeproj" -scheme "HealthKitReporter-Package" -destination "platform=iOS Simulator,name=iPhone 12 Pro,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO