Skip to content

add bundle to text views (#306) #318

add bundle to text views (#306)

add bundle to text views (#306) #318

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build on all platforms
runs-on: macos-15
strategy:
matrix:
platform: [iOS, macOS, macCatalyst, watchOS, tvOS, visionOS]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Verify macOS and Xcode version
run: |
sw_vers
xcodebuild -version
- name: Build for ${{ matrix.platform }}
run: |
case "${{ matrix.platform }}" in
iOS) destination="platform=iOS Simulator,OS=latest" ;;
macOS) destination="platform=macOS" ;;
macCatalyst) destination="platform=macOS,variant=Mac Catalyst" ;;
watchOS) destination="platform=watchOS Simulator,OS=latest" ;;
tvOS) destination="platform=tvOS Simulator,OS=latest" ;;
visionOS) destination="platform=visionOS Simulator,OS=latest" ;;
esac
xcodebuild build -scheme Clerk -destination "$destination" | xcpretty
test:
name: Run tests on macOS
runs-on: macos-15
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Verify macOS and Xcode version
run: |
sw_vers
xcodebuild -version
- name: List available destinations
run: |
echo "Available destinations:"
xcodebuild -showdestinations -scheme ClerkTests
- name: Run tests on macOS
run: |
set -o pipefail
xcodebuild test -scheme ClerkTests -destination "platform=macOS" -disable-concurrent-destination-testing | xcpretty