Skip to content

ci: use OS=latest for simulator destination & add Warp test target #3

ci: use OS=latest for simulator destination & add Warp test target

ci: use OS=latest for simulator destination & add Warp test target #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Build & Test
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- name: Show toolchain
run: |
xcodebuild -version
swift --version
- name: Swift Package Tests
run: swift test --package-path Packages/WarpProtocol
- name: App Target Tests
run: |
xcodebuild test \
-project Warp/Warp.xcodeproj \
-scheme Warp \
-destination 'platform=iOS Simulator,name=iPhone 17 Pro,OS=latest' \
CODE_SIGNING_ALLOWED=NO