From f6ec2f6ef6ab2c0f231b0f92d2267a1950a2f039 Mon Sep 17 00:00:00 2001 From: Matt Blagden Date: Wed, 2 Oct 2024 11:34:20 -0700 Subject: [PATCH] Add VisionOS tests to GitHub Actions (#1528) Summary: Pull Request resolved: https://github.com/facebook/hermes/pull/1528 Differential Revision: D63714960 --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9b34c7048f5..cf9fe123f76 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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: