Skip to content

Commit

Permalink
[CI] Add jobs to test static frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
Saadnajmi committed Dec 13, 2024
1 parent 16acfc3 commit d665722
Showing 1 changed file with 109 additions and 2 deletions.
111 changes: 109 additions & 2 deletions .ado/jobs/build-test-rntester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,83 +9,189 @@ parameters:
packager_platform: 'macos'
new_arch_enabled: '0'
use_hermes: '0'
use_frameworks: '0'
- name: macos_newarch_jsc
friendly_name: 'macOS, New Arch, JSC'
sdk: macosx
scheme: RNTester-macOS
packager_platform: 'macos'
new_arch_enabled: '1'
use_hermes: '0'
use_frameworks: '0'
# - name: macos_oldarch_hermes
# friendly_name: 'macOS, Old Arch, Hermes'
# sdk: macosx
# scheme: RNTester-macOS
# packager_platform: 'macos'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: '0'
# - name: macos_newarch_hermes
# friendly_name: 'macOS, New Arch, Hermes'
# sdk: macosx
# scheme: RNTester-macOS
# packager_platform: 'macos'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: '0'
- name: ios_oldarch_jsc
friendly_name: 'iOS, Old Arch, JSC'
sdk: iphonesimulator
scheme: RNTester
packager_platform: 'ios'
new_arch_enabled: '0'
use_hermes: '0'
use_frameworks: '0'
- name: ios_newarch_jsc
friendly_name: 'iOS, New Arch, JSC'
sdk: iphonesimulator
scheme: RNTester
packager_platform: 'ios'
new_arch_enabled: '1'
use_hermes: '0'
use_frameworks: '0'
# - name: ios_oldarch_hermes
# friendly_name: 'iOS, Old Arch, Hermes'
# sdk: iphonesimulator
# scheme: RNTester
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: '0'
# - name: ios_newarch_hermes
# friendly_name: 'iOS, New Arch, Hermes'
# sdk: iphonesimulator
# scheme: RNTester
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: '0'
- name: xros_oldarch_jsc
friendly_name: 'xrOS, Old Arch, JSC'
sdk: xrsimulator
scheme: RNTester-visionOS
packager_platform: 'ios'
new_arch_enabled: '0'
use_hermes: '0'
use_frameworks: '0'
- name: xros_newarch_jsc
friendly_name: 'xrOS, New Arch, JSC'
sdk: xrsimulator
scheme: RNTester-visionOS
packager_platform: 'ios'
new_arch_enabled: '1'
use_hermes: '0'
# - name: xros_oldarch_hermes
use_frameworks: '0'
# - name: xros_oldarch_hermes_framework
# friendly_name: 'xrOS, Old Arch, Hermes'
# sdk: xrsimulator
# scheme: RNTester-visionOS
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# - name: xros_newarch_hermes
# use_frameworks: '0'
# - name: xros_newarch_hermes_framework
# friendly_name: 'xrOS, New Arch, Hermes'
# sdk: xrsimulator
# scheme: RNTester-visionOS
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: '0'
- name: macos_oldarch_jsc_framework
friendly_name: 'macOS, Old Arch, JSC'
sdk: macosx
scheme: RNTester-macOS
packager_platform: 'macos'
new_arch_enabled: '0'
use_hermes: '0'
use_frameworks: '1'
- name: macos_newarch_jsc_framework
friendly_name: 'macOS, New Arch, JSC'
sdk: macosx
scheme: RNTester-macOS
packager_platform: 'macos'
new_arch_enabled: '1'
use_hermes: '0'
use_frameworks: '1'
# - name: macos_oldarch_hermes_framework
# friendly_name: 'macOS, Old Arch, Hermes'
# sdk: macosx
# scheme: RNTester-macOS
# packager_platform: 'macos'
# new_arch_enabled: '1'
# use_hermes: '1'
# - name: macos_newarch_hermes_framework
# friendly_name: 'macOS, New Arch, Hermes'
# sdk: macosx
# scheme: RNTester-macOS
# packager_platform: 'macos'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: '1'
- name: ios_oldarch_jsc_framework
friendly_name: 'iOS, Old Arch, JSC'
sdk: iphonesimulator
scheme: RNTester
packager_platform: 'ios'
new_arch_enabled: '0'
use_hermes: '0'
use_frameworks: '1'
- name: ios_newarch_jsc_framework
friendly_name: 'iOS, New Arch, JSC'
sdk: iphonesimulator
scheme: RNTester
packager_platform: 'ios'
new_arch_enabled: '1'
use_hermes: '0'
use_frameworks: '1'
# - name: ios_oldarch_hermes_framework
# friendly_name: 'iOS, Old Arch, Hermes'
# sdk: iphonesimulator
# scheme: RNTester
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# - name: ios_newarch_hermes
# friendly_name: 'iOS, New Arch, Hermes'
# sdk: iphonesimulator
# scheme: RNTester
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: '1'
- name: xros_oldarch_jsc_framework
friendly_name: 'xrOS, Old Arch, JSC'
sdk: xrsimulator
scheme: RNTester-visionOS
packager_platform: 'ios'
new_arch_enabled: '0'
use_hermes: '0'
use_frameworks: '1'
- name: xros_newarch_jsc_framework
friendly_name: 'xrOS, New Arch, JSC'
sdk: xrsimulator
scheme: RNTester-visionOS
packager_platform: 'ios'
new_arch_enabled: '1'
use_hermes: '0'
use_frameworks: '1'
# - name: xros_oldarch_hermes_framework
# friendly_name: 'xrOS, Old Arch, Hermes'
# sdk: xrsimulator
# scheme: RNTester-visionOS
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: '1'
# - name: xros_newarch_hermes_framework
# friendly_name: 'xrOS, New Arch, Hermes'
# sdk: xrsimulator
# scheme: RNTester-visionOS
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: '1'

jobs:
- ${{ each slice in parameters.appleBuildMatrix }}:
Expand Down Expand Up @@ -119,6 +225,7 @@ jobs:
env:
RCT_NEW_ARCH_ENABLED: ${{ slice.new_arch_enabled }}
USE_HERMES: ${{ slice.use_hermes }}
USE_FRAMEWORKS: ${{ slice.use_frameworks }}
workingDirectory: packages/rn-tester
displayName: Install Pods
Expand Down

0 comments on commit d665722

Please sign in to comment.