Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: test building with use_frameworks #1968

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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, Framework'
sdk: macosx
scheme: RNTester-macOS
packager_platform: 'macos'
new_arch_enabled: '0'
use_hermes: '0'
use_frameworks: 'static'
- name: macos_newarch_jsc_framework
friendly_name: 'macOS, New Arch, JSC, Framework'
sdk: macosx
scheme: RNTester-macOS
packager_platform: 'macos'
new_arch_enabled: '1'
use_hermes: '0'
use_frameworks: 'static'
# - name: macos_oldarch_hermes_framework
# friendly_name: 'macOS, Old Arch, Hermes, Framework'
# 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, Framework'
# sdk: macosx
# scheme: RNTester-macOS
# packager_platform: 'macos'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: 'static'
- name: ios_oldarch_jsc_framework
friendly_name: 'iOS, Old Arch, JSC, Framework'
sdk: iphonesimulator
scheme: RNTester
packager_platform: 'ios'
new_arch_enabled: '0'
use_hermes: '0'
use_frameworks: 'static'
- name: ios_newarch_jsc_framework
friendly_name: 'iOS, New Arch, JSC, Framework'
sdk: iphonesimulator
scheme: RNTester
packager_platform: 'ios'
new_arch_enabled: '1'
use_hermes: '0'
use_frameworks: 'static'
# - name: ios_oldarch_hermes_framework
# friendly_name: 'iOS, Old Arch, Hermes, Framework'
# sdk: iphonesimulator
# scheme: RNTester
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# - name: ios_newarch_hermes
# friendly_name: 'iOS, New Arch, Hermes, Framework'
# sdk: iphonesimulator
# scheme: RNTester
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: 'static'
- name: xros_oldarch_jsc_framework
friendly_name: 'xrOS, Old Arch, JSC, Framework'
sdk: xrsimulator
scheme: RNTester-visionOS
packager_platform: 'ios'
new_arch_enabled: '0'
use_hermes: '0'
use_frameworks: 'static'
- name: xros_newarch_jsc_framework
friendly_name: 'xrOS, New Arch, JSC, Framework'
sdk: xrsimulator
scheme: RNTester-visionOS
packager_platform: 'ios'
new_arch_enabled: '1'
use_hermes: '0'
use_frameworks: 'static'
# - name: xros_oldarch_hermes_framework
# friendly_name: 'xrOS, Old Arch, Hermes, Framework'
# sdk: xrsimulator
# scheme: RNTester-visionOS
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: 'static'
# - name: xros_newarch_hermes_framework
# friendly_name: 'xrOS, New Arch, Hermes, Framework'
# sdk: xrsimulator
# scheme: RNTester-visionOS
# packager_platform: 'ios'
# new_arch_enabled: '1'
# use_hermes: '1'
# use_frameworks: 'static'

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
Loading