-
Notifications
You must be signed in to change notification settings - Fork 1
28 lines (25 loc) · 913 Bytes
/
ios.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
name: run LuasKit test suite on watchOS simulator
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
name: Build and Test LuasKit scheme using watchOS simulator
runs-on: macos-14
env:
scheme: 'LuasKit'
project: 'LuasWatch.xcodeproj'
platform: 'watchOS Simulator'
device: 'Apple Watch SE (40mm) (2nd generation)'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
# xcrun xctrace returns via stderr, not the expected stdout (see https://developer.apple.com/forums/thread/663959)
xcodebuild build-for-testing -scheme "$scheme" -project "$project" -destination "platform=$platform,name=$device"
- name: Test
run: |
xcodebuild test-without-building -scheme "$scheme" -project "$project" -destination "platform=$platform,name=$device"