Get off of accessibilitySnapshot fork #76
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: Pull Request Build | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Xcode select | |
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | |
- name: Build TestApp | |
run: xcodebuild build -scheme DemoApp -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' -project DemoApp/DemoApp.xcodeproj | |
- name: Build Snapshotting | |
run: xcodebuild build -scheme Snapshotting -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' | |
- name: Build SnapshottingTests | |
run: xcodebuild build -scheme SnapshottingTests -sdk iphonesimulator -destination 'generic/platform=iOS Simulator' | |
build-tvos: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Xcode select | |
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | |
- name: Build PreviewGallery | |
run: xcodebuild build -scheme PreviewGallery -sdk appletvsimulator -destination 'generic/platform=tvOS Simulator' | |
- name: Build Snapshotting | |
run: xcodebuild build -scheme Snapshotting -sdk appletvsimulator -destination 'generic/platform=tvOS Simulator' | |
- name: Build SnapshottingTests | |
run: xcodebuild build -scheme SnapshottingTests -sdk appletvsimulator -destination 'generic/platform=tvOS Simulator' | |
build-visionos: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Xcode select | |
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | |
- name: Build TestApp | |
run: xcodebuild build -scheme DemoApp -sdk xrsimulator -destination 'generic/platform=visionOS Simulator' -project DemoApp/DemoApp.xcodeproj | |
- name: Build Snapshotting | |
run: xcodebuild build -scheme Snapshotting -sdk xrsimulator -destination 'generic/platform=visionOS Simulator' | |
- name: Build SnapshottingTests | |
run: xcodebuild build -scheme SnapshottingTests -sdk xrsimulator -destination 'generic/platform=visionOS Simulator' | |
build-watchos: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Xcode select | |
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | |
- name: Build Test Watch App | |
run: xcodebuild build -scheme 'Demo Watch App' -sdk watchsimulator -destination 'platform=watchOS Simulator,name=Apple Watch Series 9 (41mm)' -project DemoApp/DemoApp.xcodeproj CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO | |
- name: Build Snapshotting | |
run: xcodebuild build -scheme Snapshotting -sdk watchsimulator -destination 'generic/platform=watchOS Simulator' | |
- name: Build SnapshottingTests | |
run: xcodebuild build -scheme SnapshottingTests -sdk watchsimulator -destination 'generic/platform=watchOS Simulator' | |
build-macos: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Xcode select | |
run: sudo xcode-select -s '/Applications/Xcode_15.4.app/Contents/Developer' | |
- name: Build PreviewGallery | |
run: xcodebuild build -scheme PreviewGallery -sdk macosx -destination 'generic/platform=macOS' | |
- name: Build Snapshotting | |
run: xcodebuild build -scheme Snapshotting -sdk macosx -destination 'generic/platform=macOS' | |
- name: Build SnapshottingTests | |
run: xcodebuild build -scheme SnapshottingTests -sdk macosx -destination 'generic/platform=macOS' |