-
Notifications
You must be signed in to change notification settings - Fork 44
ci: refactor and add caching, use macOS-26 image for iOS #189
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1988e17
ci: refactor and add caching, use macOS-26 image for iOS
artus9033 97fa06f
ci: print ccache stats in job summary
artus9033 4a9ef02
fix: properly cache outputs of CLI build
artus9033 93a130e
ci: print simple ccache stats in job summary
artus9033 8b731c4
fix: include build outputs of brownie & brownfield packages in Turbo'…
artus9033 80b2b8c
ci: optimize Android build caching
artus9033 e703942
chore: disable verbose logging in RNApp CLI build scripts
artus9033 544b5eb
ci: skip cleaning large packages on Ubuntu runner
artus9033 4a60e4b
ci: parallelize Android CI workflow
artus9033 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| name: Prepare Android environment | ||
| description: Prepare Android environment and set up the project | ||
|
|
||
| inputs: | ||
| free-disk-space: | ||
| description: 'Whether to free disk space on the runner' | ||
| required: false | ||
| default: 'true' | ||
|
|
||
| run-yarn-build: | ||
| description: 'Whether to run yarn build' | ||
| required: false | ||
| default: 'true' | ||
|
|
||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Validate Gradle Wrapper | ||
| uses: gradle/actions/wrapper-validation@6f229686ee4375cc4a86b2514c89bac4930e82c4 # v5 | ||
|
|
||
| - name: Setup Java | ||
| uses: actions/setup-java@5d7b2146334bacf88728daaa70414a99f5164e0f # v5 | ||
| with: | ||
| distribution: 'zulu' | ||
| java-version: '17' | ||
|
|
||
| - name: Free Disk Space (Ubuntu) | ||
| if: inputs.free-disk-space == 'true' | ||
| uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1 | ||
| with: | ||
| tool-cache: false | ||
|
|
||
| android: false | ||
| dotnet: true | ||
| haskell: true | ||
| large-packages: true | ||
| docker-images: true | ||
| swap-storage: true | ||
|
|
||
| - name: Build packages | ||
| if: inputs.run-yarn-build == 'true' | ||
| run: yarn build | ||
| shell: bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| name: Prepare iOS environment | ||
| description: Prepare iOS environment and set up the project | ||
|
|
||
| inputs: | ||
| run-yarn-build: | ||
| description: 'Whether to run yarn build' | ||
| required: false | ||
| default: 'true' | ||
|
|
||
| runs: | ||
| using: composite | ||
| steps: | ||
| - name: Use appropriate Xcode version | ||
| uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0 | ||
| with: | ||
| xcode-version: '26' | ||
|
|
||
| - name: Setup Ruby | ||
| uses: ruby/setup-ruby@5dd816ae0186f20dfa905997a64104db9a8221c7 # v1.280.0 | ||
| with: | ||
| ruby-version: '3.2' | ||
| bundler-cache: true | ||
|
|
||
| - name: Build packages | ||
| if: inputs.run-yarn-build == 'true' | ||
| run: yarn build | ||
| shell: bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.