-
Notifications
You must be signed in to change notification settings - Fork 7
36 lines (33 loc) · 942 Bytes
/
run_ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: "Run CI"
on: [push]
jobs:
build-sdks:
runs-on: macos-14
strategy:
matrix:
scheme: ["VitalDevices"]
steps:
- name: Xcode Select
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Checkout
uses: actions/checkout@master
- name: Build
run: |
xcodebuild clean build -scheme "${scheme}" -destination 'generic/platform=iOS'
env:
scheme: ${{ matrix.scheme }}
test-sdks:
runs-on: macos-14
strategy:
matrix:
scheme: ["VitalHealthKit", "VitalCore"]
steps:
- name: Xcode Select
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Checkout
uses: actions/checkout@master
- name: Test
run: |
xcodebuild clean test -scheme "${scheme}" -destination platform=iOS\ Simulator,OS=17.5,name=iPhone\ 15
env:
scheme: ${{ matrix.scheme }}