extract sidebar preview #23
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: 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" |