Skip to content

Commit

Permalink
Add VisionOS tests to GitHub Actions (facebook#1528)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: facebook#1528

Differential Revision: D63714960
  • Loading branch information
Matt Blagden authored and facebook-github-bot committed Oct 2, 2024
1 parent 1802663 commit f6ec2f6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
build_macosx
destroot
- name: Install dependencies
run: brew install cmake ninja
run: brew install cmake ninja && xcodebuild -downloadPlatform visionOS
- name: Build the test application
run: pod install
working-directory: test/ApplePlatformsIntegrationTestApp
Expand All @@ -201,6 +201,14 @@ jobs:
-destination 'platform=iOS Simulator,name=iPhone 14' \
-scheme ApplePlatformsIntegrationMobileTests
working-directory: test/ApplePlatformsIntegrationTestApp
- name: Test Apple Vision application
run: |-
xcodebuild test \
-workspace ApplePlatformsIntegrationTests.xcworkspace \
-configuration Debug \
-destination 'platform=visionOS Simulator,name=Apple Vision Pro' \
-scheme ApplePlatformsIntegrationVisionOSTests
working-directory: test/ApplePlatformsIntegrationTestApp
package-apple-runtime:
runs-on: macos-latest
needs:
Expand Down

0 comments on commit f6ec2f6

Please sign in to comment.