diff --git a/.github/composite_actions/get_platform_parameters/action.yml b/.github/composite_actions/get_platform_parameters/action.yml index 7ac2d4f612..35ea7506fb 100644 --- a/.github/composite_actions/get_platform_parameters/action.yml +++ b/.github/composite_actions/get_platform_parameters/action.yml @@ -89,12 +89,17 @@ runs: DEVICE="Apple Watch Series 8 (45mm)" OS_VERSION="10.0" ;; + visionOS/latest) + DEVICE="Apple Vision Pro" + OS_VERSION="1.1" + ;; esac DESTINATION_MAPPING="{ \"iOS\": \"platform=iOS Simulator,name=$DEVICE,OS=$OS_VERSION\", \"tvOS\": \"platform=tvOS Simulator,name=$DEVICE,OS=$OS_VERSION\", \"watchOS\": \"platform=watchOS Simulator,name=$DEVICE,OS=$OS_VERSION\", + \"visionOS\": \"platform=visionOS Simulator,name=$DEVICE,OS=$OS_VERSION\", \"macOS\": \"platform=macOS,arch=arm64\" }" @@ -119,8 +124,8 @@ runs: "iOS": "iphonesimulator", "tvOS": "appletvsimulator", "watchOS": "watchsimulator", + "visionOS": "xrosimulator", "macOS": "macosx" }' echo "sdk=$(echo $SDK_MAPPING | jq -r .$INPUT_PLATFORM)" >> $GITHUB_OUTPUT - shell: bash - + shell: bash \ No newline at end of file diff --git a/.github/workflows/run_unit_tests_platforms.yml b/.github/workflows/run_unit_tests_platforms.yml index 972a4e64dd..8d42e5908d 100644 --- a/.github/workflows/run_unit_tests_platforms.yml +++ b/.github/workflows/run_unit_tests_platforms.yml @@ -35,12 +35,13 @@ jobs: strategy: fail-fast: false matrix: - platform: [iOS, macOS, tvOS, watchOS] + platform: [iOS, macOS, tvOS, watchOS, visionOS] exclude: - platform: ${{ github.event.inputs.ios == 'false' && 'iOS' || 'None' }} - platform: ${{ github.event.inputs.macos == 'false' && 'macOS' || 'None' }} - platform: ${{ github.event.inputs.tvos == 'false' && 'tvOS' || 'None' }} - platform: ${{ github.event.inputs.watchos == 'false' && 'watchOS' || 'None' }} + - platform: ${{ github.event.inputs.visionos == 'false' && 'visionOS' || 'None' }} uses: ./.github/workflows/run_unit_tests.yml with: scheme: ${{ inputs.scheme }}