Граф коммитов

31 Коммитов

Автор SHA1 Сообщение Дата
Saad Najmi 7c404aa2ca
[CI] Update Build Matrix (#2104)
* Replace `--frozen-lockfile` with --immutable

* Remove `apple-install-dependencies

* Update  apple-xcode-select

* Use macos-13-arm64

* Build Debug only

* Use custom Xcodebuild template

* Separate build & test

* Use Codeql v2

* Update template syntax

* try major refactor

* rename apple-job-publish

* try big 2

* Fix Hermes

* Comment out test temporarily

* Fix visionOS + New Arch + JSC

* Move iOS down, visionOS -> xrOS

* Comment out failing jobs

* Update build-test-rntester.yml

* Move scripts to scripts folder

* Update RNTA script for RNM use

* Update VM image per notice

* Update gitignore

* Don't test on visionOS

* fix use out-of-scope memory warning (#41441)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/41441

changelog: [internal]

Reviewed By: cipolleschi

Differential Revision: D51233760

fbshipit-source-id: 5fc7ab22220e3d80729243e715e22e85e3ba7afa

* Retry xcode tests on failure

---------

Co-authored-by: Samuel Susla <samuelsusla@meta.com>
2024-05-21 11:18:38 -07:00
Danny van Velzen 04c48c913c
Migrate publish pipeline to 1ESPT (#1963)
* Migrate publish pipeline to 1ESPT

* test 13

* Update simulator

* update

* update

* update

* update
2023-10-27 17:28:59 -07:00
Saad Najmi 4ae2d95c4d Disable Xcode tests on Fabric 2023-10-02 10:45:46 -07:00
Shawn Dempsey 3dd054ee0d
[Fabric] Use RCT_NEW_ARCH_ENABLED flag for enabling new arch (#1782)
* Replace USE_FABRIC w/ RCT_NEW_ARCH_ENABLED flag for enabling new arch

* Native CXX TM builds for macOS

* Update RNTester podfile w/ correct flag

---------

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
2023-04-10 17:46:24 -07:00
Saad Najmi d02bce5008
Refactor Publish pipeline (take 2) (#1773)
* Refactor Publish pipeline (take 2)

* remove space

* Uncomment vars
2023-04-04 10:06:42 -07:00
Saad Najmi 372139b72b
Fix publish.yml (#1771)
* Fix publish.yml

* Test

* Update publish.yml

* Add compliance dependence once more

* Fix branch name
2023-04-03 18:06:17 +00:00
Saad Najmi 53abf91c20 Add NPM Publish Dry Run Job + Refactor publish.yml 2023-03-31 11:53:40 -07:00
Saad Najmi c2ef1c285f Re-enable sanitizers and static analysis 2023-03-08 16:57:12 -08:00
Saad Najmi 7a2c684dc9 Disable failing jobs 2023-03-03 21:43:27 -08:00
Saad Najmi 17ab19ec76 Re-order PR jobs 2023-02-28 14:26:09 -08:00
Saad Najmi 351c134a79 Update CI to build Hermes 2023-02-22 15:36:44 -06:00
Shawn Dempsey c8e32a1294
[Fabric] Enable CI for building RNTester w/ Fabric macOS (#1686)
* [Fabric] Shim RCTSwitchComponentView

* Add missing tags

* [Fabric] Shim RCTImage

* Shim RCTTextInput

* Shim RCTSurfaceTouchHandler

* Shim NSTouch in RCTUIKit

* Shim RCTComponentViewDescriptor

* Fix RCTLegacyViewManagerInteropComponentView

* Fix Fabric crash setting frame

* Fix crash w/ first responder

* Fix RCTFindTextInputWithNativeId

* Shim macOS scale utils

* Shim RCTUITouch -> NSEvent

* [Fabric] Fix UIKit Shim

* [Fabric] Fix RCTUILabel shim

* [Fabric] Fix RCTSliderComponent shim

* [Fabric] Disable UIApplicationWillTerminateNotification on macOS

* [Fabric] Don't check alpha for NSView

* [Fabric] Add missing tags

* [Fabric] Remove double import

* [Fabric] Fix RCTTouchEvent Shim

* Update React/Fabric/Mounting/RCTComponentViewDescriptor.h

Co-authored-by: Saad Najmi <sanajmi@microsoft.com>

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Remove duplicate RCTUITouch def

* [Fabric] Fix whitespace

* [Fabric] Enable fabric macOS builds on CI

* [Fabric] Add missing tag

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
2023-01-25 10:39:11 -08:00
Saad Najmi c7c70047cf Split up debug and release azure pipeline tests 2023-01-18 12:51:38 -08:00
Saad Najmi 28beca61d0 Add Fabric iOS Job to azure pipeline 2023-01-18 12:51:38 -08:00
Saad Najmi 85c94d35d7
Remove Android Patches (#1591)
* Remove Android Patches

* Update CODEOWNERS

* Remove other patches

* And more

* Remove more CODEOWNERS

* Remove more Office Android ADO files

* Add back removed prop
2022-12-14 12:55:32 -08:00
Lorenzo Sciandra 6a6e7faa95
[chore] small tweaks & bump VMs in CI (#979) 2022-02-04 08:37:15 -08:00
HeyImChris 877d09aa86
Transition our CI from using master to main (#939)
* android

* move CI to main
2022-01-06 13:24:34 -08:00
HeyImChris 3056c4e4bf
Add some robustness to the CI and switch to Xcode 12 (#709)
* Update RCTCxxBridge.mm

* make CI xcode versioning more robust to xcode12

* update to xcode 12.4

* use apple variables file

* Update RCTCxxBridge.mm

* add quotes

* switch to catalina

* update pods to 10.15

* make CI xcode versioning more robust to xcode12

* update to xcode 12.4

* use apple variables file

* add quotes

* switch to catalina

* update pods to 10.15

* upgrade version requirements to n-2 for osx

* make CI xcode versioning more robust to xcode12

* update to xcode 12.4

* use apple variables file

* add quotes

* switch to catalina

* make CI xcode versioning more robust to xcode12

* update to xcode 12.4

* use apple variables file

* add quotes

* make CI xcode versioning more robust to xcode12

* update to xcode 12.4

* use apple variables file

* add quotes

* CI should run on PRs to future stable branches (#718)

* Pull in header's C declaration to stop symbol mangling  (#728)

* Update RCTCxxBridge.mm

* Update RCTCxxBridge.mm

* fix undefined extern c symbol

* scroll content with animation (#725)

Summary: please see test plan

Test Plan:
|Before|After|
|{F371503806}|{F371499708}|



Reviewers: skyle

Reviewed By: skyle

Subscribers: zackargyle

Differential Revision: https://phabricator.intern.facebook.com/D26354172

Tasks: T84165504

Signature: 26354172:1612920735:2cd8455b1bae06ee555bd98cfd41c4dfb29c288e

Co-authored-by: Mo Wang <mowang@fb.com>

* Fix missing props on secure text input (#719)

* Enable animated gif playback on Mac (#724)

* enable gif for mac

Summary:
I verify that it works for Zeratul as well. 

It also works regardless turbo module is enabled or not.

Test Plan: 
|{F369886201}|{F369889196}|



Reviewers: skyle

Reviewed By: skyle

Subscribers: zackargyle

Differential Revision: https://phabricator.intern.facebook.com/D26272145

Tasks: T82742678

Signature: 26272145:1612513052:520a8b0b3ab4b211c953b3225c6c96ffb8a29fc5

* bypass setImage logic when it is Mac

Summary: as titled

Test Plan:

{F370138978}

{F370139033}


Reviewers: skyle

Reviewed By: skyle

Subscribers: zackargyle

Differential Revision: https://phabricator.intern.facebook.com/D26288169

Signature: 26288169:1612565769:8f779fe01614e3399ac3e484853bb61246210ff4

* address PR comments

* address PR comments 1

Co-authored-by: Mo Wang <mowang@fb.com>

* Add explicit Tab support to keyboarding (#723)

* Update RCTCxxBridge.mm

* Update RCTCxxBridge.mm

* add explicit tab support

* missing tab validity check

* Fix Deadlock in RCTi18nUtil (iOS) (#733)

* Initial Commit

* Fix typo

* Fix default initialization of isRTLAllowed and documentation

* use BOOL, remove superfluous readwrite decorator

* Fix another typo

* Add TODO Marker

* update to macOS 10.15

* make CI xcode versioning more robust to xcode12

* update to xcode 12.4

* use apple variables file

* add quotes

* switch to catalina

* update pods to 10.15

* upgrade version requirements to n-2 for osx

* make CI xcode versioning more robust to xcode12

* update to xcode 12.4

* use apple variables file

* add quotes

* switch to catalina

* make CI xcode versioning more robust to xcode12

* update to xcode 12.4

* use apple variables file

* add quotes

* make CI xcode versioning more robust to xcode12

* update to xcode 12.4

* use apple variables file

* add quotes

* update to macOS 10.15

* update to xcode 12.4

* use apple variables file

* switch to catalina

* 10.14

* CI has to run on 10.15.4 or later

* fix up pod errors

* upgrade iphone simulator

* iphone 13

* remove old post install script

* iphone 8

* Restore Podfile.lock to see if it fixes CI

* Restore compiler flags in TurboModuleCxx-WinRTPort

* Remove macOS arm64 build divergence

* Remove building all ARCHS temporarily

* Override ONLY_ACTIVE_ARCH in release builds too

* Push iOS 14 snapshots

Co-authored-by: Andrew Coates <30809111+acoates-ms@users.noreply.github.com>
Co-authored-by: Mo <mo.hy.wang@gmail.com>
Co-authored-by: Mo Wang <mowang@fb.com>
Co-authored-by: Scott Kyle <scott@appden.com>
Co-authored-by: Saad Najmi <saadnajmi2@gmail.com>
Co-authored-by: Anand Rajeswaran <anand.rajeswaran@outlook.com>
2021-03-17 11:41:57 -07:00
Andrew Coates ab9d6495e4
CI should run on PRs to future stable branches (#718) 2021-02-11 22:42:31 -08:00
Tom Underhill 335c7cc061
Fix react-native-macos-init PR CI test (#654)
* Update scripts to publish react-native-macos-init

* Clean up merge markers

* Restored ios:macos RNTester parity except for InputAccessoryView.

* Revert "Restored ios:macos RNTester parity except for InputAccessoryView."

This reverts commit 5a67ae06b0.

* Remove unnecessary android builds and tar file upload.

* Change verdaccio to run in node 12 instead of node 10.

* Attempt to run verdaccio outside of the `n` context.

* Try node useing UseNode@1

* Use brew to ensure node 12

* Forgot chown step

* Remove duplicated steps to brew install node

* Remove commented out steps

* Disable CCI test that requires a CCI plan which we don't have.

Co-authored-by: React-Native Bot <53619745+rnbot@users.noreply.github.com>
2020-11-18 18:21:15 +01:00
Tom Underhill a3fe4b9ac6
Exclude markdown files from triggering the CI during PR (#345)
* Update scripts to publish react-native-macos-init

* Clean up merge markers

* Restored ios:macos RNTester parity except for InputAccessoryView.

* Revert "Restored ios:macos RNTester parity except for InputAccessoryView."

This reverts commit 5a67ae06b0.

* Remove unnecessary android builds and tar file upload.

* Exclude markdown docs from trigger CI.

* Quote string in yml.  Add same exclusion from android-pr

* Change git url to new react-native-macos

Co-authored-by: React-Native Bot <53619745+rnbot@users.noreply.github.com>
2020-05-06 13:35:21 -07:00
Tom Underhill bfd9b433e5
Add CI for react-native-macos-init (#297)
* Update scripts to publish react-native-macos-init

* Clean up merge markers

* Added CI test for react-native-macos-init

* Rename command

* Apparently ADO variables cannot be yml arrays.  Remove the Demands variable.

* Ensure node 10.x

* Try npm install -g verdaccio

* Try without npx

* Log verdaccio console output.

* Try NodeTool instead of UseNode

* Fix argument

* Try using `n` to enforce node version when running ado-start-verdaccio.sh

* No bump

* Set env var

* Lets try setting the correct env var this time.

* Make versionUtils.js more robust.

* Restore package.json

* Run beachball from react-native-macos-init

* Fix \ to /.

* Change version to latest
2020-04-07 11:08:40 -07:00
Anandraj 3a93643e8e
Moving the android specific changes to patch files and reverting them… (#254)
* Moving the android specific changes to patch files and reverting them from the repo.

* Apply patches immediately after cloning

* Fixing the webpack config for the bundle to run correctly

* Removing an unwanted hunk from folly makefile hwich might be causing a build failure

* Reverting src/main/jni/third-party/folly/Android.mk hoping for the best. If this doesn't work then will look deeper

* Fixing the patch scripts

* Fixing a patch file with integrity failure.. and tightening the error handling.

* Adding more diagnostics

* More diagnostics

* Fixing line splitting of patch and source files while patching

* Cleaning up the diagnostics.. Patching should work this time.

* Reverting the change needed for MAC/iOS

* More diagnostics printed out ..

* Fixing MAC/iOS build

* yarn test -u

* Update .eslintignore

Update .eslintignore to ignore patching code and patch files.

* Fixing a couple of linking errors in JS'

* Adding prettierignore and making some fixes to the patches

* More fixes to the path

* Making required changes in Apple PR/Publish build pipelines to valiate/publish patched as well as unpatched code

* A fix in the patch application condition

* More fixes in the patch application condition

* Another attempt to fix the patching condition

* Yet Another attempt to fix the patching condition

* Yet Another attempt to fix the patching condition.. forcing the parameter to be strings

* Yet Another attempt to fix the patching condition.. forcing the parameter to be strings

* Making patches work on non-windows.. and more fixes for the condition in yaml

* Diagnostics for debugging conditions

* Diagnostics for debugging conditions 2

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Diagnostics for debugging conditions 3

* Workaround

* Workaround

* Workaround

* Workaround

* Fixing Apple build failure with patch applied ..

* Refactoring the patch application to template

* Fixing the template file relative URL when referenced from another template

* Fixing a mistake introduced while refactoring the patch creating steps.

* Fixing some formatting

* Fixing some formatting

Co-authored-by: Anandraj <anandrag@microsoft.com>
2020-03-18 18:20:08 -07:00
Brian Zhao c214b0ba32 Add 0.59-stable branch to PR build trigger (#202) 2019-12-06 09:19:31 -08:00
Tom Underhill fe9ccbcbcf
Tomun/fixflow (#196)
* Fixed Flow, Lint, and Jest tests.  Fixed broken macOS scroll key events.

* Added ADO tests for jest, flow, lint, format-check

* Rename yml file

* Added displayName's to the yml steps

* More flow fixes.  macos specific files were being skipped in .flowconfig

* Renamed e to event and event to nativeEvent

* Fix lint errors
2019-12-01 14:35:18 -08:00
HeyImChris b917a64fea
Enable mac yml tests (#189) 2019-11-11 17:15:26 -08:00
HeyImChris 932a2b80c7 Copy over ios/mac header files that polyester references to fix the 0.60 merg… (#181)
* copy over header files that polyester references to fix the 0.60 merge into sdx-platform

* remove unnecessary header inclusions

* copy these files over in a separate copy headers. Having them in the same copy headers causes duplicate symbol problems when building

* Mac VM environment error requires we disable mac integration tests to unblock the 60 merge progress

* Add support for debug/release builds and on iOS, run tests only for iOS debug for now. disable them for Mac debug/release
2019-10-25 12:26:06 -07:00
Christopher Hogan f6d247893d turn off tvOS builds 2019-09-26 14:06:23 -07:00
Tom Underhill 4079723607
Switch to vmImage macOS-10.14 (#165) 2019-09-24 12:25:38 -07:00
Tom Underhill 041a12d394
Update react-native PR build pipeline to use macOS Mojave agents and XCode 11 beta (#153)
* Switch to XCode 11.

* All tests passing

* Update node to 10

* Update yaml scripts to use the Mojave agent pools

* Fixed ado-test-setup.sh script

* Fix build error for RNTesterBundle-macOS

* fixed shellcheck issues
2019-09-03 09:28:54 -07:00
Tom Underhill 07933ba6ca
Tomun/yaml (#4)
* Initial yaml Azure DevOps build scripts

* Added missing parameter

* OCMock framework symlinks were broken

* Change syntax of template parameter variable in script

* Added env: tag to pass template parameter into bash script

* Try again to get variable passed to script

* Try removing underscores from variable name.

* Try again

* Try without quotes

* Experiment

* Cleaned up script
2019-03-04 13:27:54 -08:00