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

RJS-2101: "Build optimizations" for iOS and Android #6650

Merged
merged 108 commits into from
Jun 17, 2024

Commits on Jun 14, 2024

  1. Squashed commit of the following:

    commit 17e1661
    Author: Andrew Meyer <[email protected]>
    Date:   Tue Feb 6 13:18:02 2024 +0000
    
        Lint the shell script
    
    commit 78b3ae7
    Author: Andrew Meyer <[email protected]>
    Date:   Mon Feb 5 11:49:56 2024 +0000
    
        Add all scripts to the package
    
    commit e334dca
    Author: Andrew Meyer <[email protected]>
    Date:   Sun Feb 4 15:20:20 2024 +0100
    
        Fix potential release issues
    
    commit fa5a982
    Author: Andrew Meyer <[email protected]>
    Date:   Sun Feb 4 15:16:21 2024 +0100
    
        Refactor integration tests jsi dep
    
    commit efab94a
    Author: Andrew Meyer <[email protected]>
    Date:   Sun Feb 4 15:13:58 2024 +0100
    
        Revert wireit action change
    
    commit 49d87c6
    Author: Andrew Meyer <[email protected]>
    Date:   Sun Feb 4 15:11:22 2024 +0100
    
        Add CHANGELOG entry
    
    commit 1a92fb4
    Author: Andrew Meyer <[email protected]>
    Date:   Sun Feb 4 13:58:41 2024 +0100
    
        PR suggestions, etc
    
        * Rename generate script
        * Various Cleanup
        * Fix up the dependencies for the integration tests
    
    commit 6cd3b15
    Author: Andrew Meyer <[email protected]>
    Date:   Sun Feb 4 13:47:49 2024 +0100
    
        Apply suggestions from code review
    
        Co-authored-by: Kræn Hansen <[email protected]>
        Co-authored-by: Kenneth Geisshirt <[email protected]>
        Co-authored-by: LJ <[email protected]>
    
    commit 89c5c0f
    Author: Andrew Meyer <[email protected]>
    Date:   Sun Feb 4 13:40:18 2024 +0100
    
        Refactor Android builds for React Native (#6400)
    
        * Build Realm Android from Source
    
        * Derive React Native version from local RN package
    
        * Implement prefab to handle react native dependencies.  Refactor where possible
    
        * Refactor CI for Android
    
        * Fix pack issues
    
        * Possible ios cache issue
    
        * Fixed issue where build starts before ts is generated
    
        * disable wireit cache
    
        * refactor wireit cache and optimize workflow
    
        * Cleanup packagin
    
    commit 8e01fbf
    Author: Andrew Meyer <[email protected]>
    Date:   Wed Jan 31 15:37:16 2024 +0100
    
        Revert upgrade to upload-artifact
    
    commit 7477a81
    Author: Andrew Meyer <[email protected]>
    Date:   Wed Jan 31 14:41:10 2024 +0100
    
        Add cache for pod-install:ci
    
    commit 8379c28
    Author: Andrew Meyer <[email protected]>
    Date:   Mon Jan 29 14:52:07 2024 +0100
    
        Attempt to fix CI
        Update node16 actions
        Refactor bundle step into generate artifact step
    
    commit 58d62ff
    Author: Andrew Meyer <[email protected]>
    Date:   Mon Jan 29 14:47:53 2024 +0100
    
        PR feedback
    
    commit 91e3a5f
    Author: Andrew Meyer <[email protected]>
    Date:   Mon Jan 29 14:45:22 2024 +0100
    
        Apply suggestions from code review
    
        Co-authored-by: LJ <[email protected]>
        Co-authored-by: Kræn Hansen <[email protected]>
    
    commit cb4df32
    Author: Andrew Meyer <[email protected]>
    Date:   Mon Jan 29 14:44:31 2024 +0100
    
        Incorporate PR feedback
    
    commit 43f7670
    Author: Andrew Meyer <[email protected]>
    Date:   Thu Jan 25 13:34:38 2024 +0100
    
        Fixes after review
    
    commit c7ccfcf
    Author: Andrew Meyer <[email protected]>
    Date:   Thu Jan 25 11:05:43 2024 +0100
    
        Cleanup
    
    commit 9e3d7c0
    Author: Andrew Meyer <[email protected]>
    Date:   Thu Jan 25 10:52:56 2024 +0100
    
        Updates from Review
    
    commit 06ef7a9
    Author: Andrew Meyer <[email protected]>
    Date:   Wed Jan 24 12:45:50 2024 +0100
    
        Only generate jsi for react native builds
    
    commit 33f29b0
    Author: Andrew Meyer <[email protected]>
    Date:   Wed Jan 24 12:33:57 2024 +0100
    
        PR comments and etc
    
        * Fixed some build issues
        * Reactivate ccache for integration tests builds
    
    commit b67a299
    Author: Andrew Meyer <[email protected]>
    Date:   Fri Jan 19 14:59:23 2024 +0100
    
        Final fixes to iOS building from source
    
    commit 0c66006
    Author: Andrew Meyer <[email protected]>
    Date:   Fri Jan 19 10:41:52 2024 +0100
    
        More documentation updates
    
    commit 5ac6267
    Author: Andrew Meyer <[email protected]>
    Date:   Fri Jan 19 09:37:19 2024 +0100
    
        Prepare for public consumption
    
        * update the packed contents of the package
        * update relevant documentation
    
    commit de9300f
    Author: Andrew Meyer <[email protected]>
    Date:   Wed Jan 17 16:39:07 2024 +0100
    
        Use an BUILD_REALM_CORE env var to build core from source
    
    commit 14d9de6
    Author: Andrew Meyer <[email protected]>
    Date:   Wed Jan 17 16:24:14 2024 +0100
    
        Refactor ios builds
    
        * build from core prebuilds
        * phase script only called when input and outputs have changes
        * reinstalling pods will wipe build files, forcing a rebuild
        * generate input file list so that core can be rebuilt on changes
        * generate dummy libraries so that libraries can be generated
        * create build option which forces core to build from source
        * build from source if prebuild url is not reachable
    
    commit 02ba32d
    Author: Andrew Meyer <[email protected]>
    Date:   Thu Jan 4 17:56:33 2024 +0100
    
        Remove xcframework and just use static libraries
    
    commit d370cba
    Author: Andrew Meyer <[email protected]>
    Date:   Sat Dec 30 11:09:10 2023 +0100
    
        Make builds for iOS work without downloading prebuilds
    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    31ce1e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8791ddf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e13483b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    288410d View commit details
    Browse the repository at this point in the history
  5. Adding a dummy project

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    6dd96ab View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e379cf7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    252d3dd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0e16de7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ff2cca9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b54e851 View commit details
    Browse the repository at this point in the history
  11. Reverted Xcode downgrade

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    0857409 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c702ff9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    bdd92b6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4b753bc View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    c765e4d View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a71fc2e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8faeb50 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    bc15584 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    9f2f1a6 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    832a41d View commit details
    Browse the repository at this point in the history
  21. Fix podspec

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    fbfe618 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    423dd6c View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    f18e86b View commit details
    Browse the repository at this point in the history
  24. Fixed header search paths

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    5aa1d19 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    6f16f99 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    5d9b7d3 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    6c9ec28 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    84ea590 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    b59d3a8 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    2c3dfe3 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    da3a244 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    fbfd153 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    15a31b8 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    29f1ed3 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    a4e5222 View commit details
    Browse the repository at this point in the history
  36. Simplified NPM scripts

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    b6ad2df View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    4155daa View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    3deb0d1 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    7d21944 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    4e77834 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    216ea57 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    dcb7bdb View commit details
    Browse the repository at this point in the history
  43. Cleaning up job names

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    daf24c4 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    4521bc3 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    4b51ffb View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    2facd22 View commit details
    Browse the repository at this point in the history
  47. Small simplifications

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    674e389 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    cd7d2e6 View commit details
    Browse the repository at this point in the history
  49. Configuration menu
    Copy the full SHA
    8fa5c7c View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    97ddcc0 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    56693eb View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    7b7bdd0 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    3a74b43 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    08d7b58 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    044122b View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    7d6f883 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    cf5ac9e View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    7d8724c View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    8b8f6d4 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    d2f821f View commit details
    Browse the repository at this point in the history
  61. Renamed prebuild scripts

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    9275e8a View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    20548a6 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    98e27a6 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    ade11e9 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    b859334 View commit details
    Browse the repository at this point in the history
  66. Configuration menu
    Copy the full SHA
    af637d7 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    92d7877 View commit details
    Browse the repository at this point in the history
  68. Updated README.md

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    e9ce566 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    1f87a55 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    ea1d9c8 View commit details
    Browse the repository at this point in the history
  71. Configuration menu
    Copy the full SHA
    b125c36 View commit details
    Browse the repository at this point in the history
  72. Configuration menu
    Copy the full SHA
    6d5ecef View commit details
    Browse the repository at this point in the history
  73. Excluding libBid and libs2geometry from realm-

    combined.a
    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    818541c View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    087a910 View commit details
    Browse the repository at this point in the history
  75. Reverted change to docs

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    c3012d2 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    73a65b6 View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    a89e64a View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    ecb9e2b View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    ff9028d View commit details
    Browse the repository at this point in the history
  80. Configuration menu
    Copy the full SHA
    7ba7c2d View commit details
    Browse the repository at this point in the history
  81. Configuration menu
    Copy the full SHA
    333f5b9 View commit details
    Browse the repository at this point in the history
  82. Re-enabling sync headers

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    c34471d View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    a10da9a View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    6a5689e View commit details
    Browse the repository at this point in the history
  85. Configuration menu
    Copy the full SHA
    5a56cf9 View commit details
    Browse the repository at this point in the history
  86. Configuration menu
    Copy the full SHA
    b03ad27 View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    dcf1c2b View commit details
    Browse the repository at this point in the history
  88. Moving deps to dev-deps

    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    2482c4f View commit details
    Browse the repository at this point in the history
  89. Configuration menu
    Copy the full SHA
    c286515 View commit details
    Browse the repository at this point in the history
  90. Adding an assert to ensure the build script is ran through NPM script…

    …s of the "realm" package
    kraenhansen committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    2daa9ae View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    68768be View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    b407e78 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    38a0912 View commit details
    Browse the repository at this point in the history
  94. Configuration menu
    Copy the full SHA
    4b02b39 View commit details
    Browse the repository at this point in the history
  95. Apply suggestions from code review

    Co-authored-by: Kenneth Geisshirt <[email protected]>
    kraenhansen and kneth committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    3adf571 View commit details
    Browse the repository at this point in the history
  96. Configuration menu
    Copy the full SHA
    0cb4a47 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    981ec40 View commit details
    Browse the repository at this point in the history
  98. Configuration menu
    Copy the full SHA
    4da3eae View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    2521769 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    45624ae View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    df70e32 View commit details
    Browse the repository at this point in the history
  102. Apply suggestions from code review

    Co-authored-by: LJ <[email protected]>
    kraenhansen and elle-j committed Jun 14, 2024
    Configuration menu
    Copy the full SHA
    2aa76e3 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    989f17c View commit details
    Browse the repository at this point in the history
  104. Configuration menu
    Copy the full SHA
    83a7d77 View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    48e8eaa View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2024

  1. Configuration menu
    Copy the full SHA
    fdef20a View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Incorporated feedback

    kraenhansen committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    0d3d38d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e6cff1d View commit details
    Browse the repository at this point in the history