-
Notifications
You must be signed in to change notification settings - Fork 11
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: build sample app #138
ci: build sample app #138
Conversation
Sample app builds 📱Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.
|
8403040
to
59557c4
Compare
c0db4d5
to
fc4263f
Compare
- name: Setup Android environment for sample app | ||
uses: ./.github/actions/setup-android | ||
|
||
- name: Build and upload Android app via Fastlane | ||
uses: maierj/[email protected] | ||
with: | ||
subdirectory: apps/${{ matrix.sample-app }} | ||
lane: 'android build' | ||
env: | ||
FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_CREDS_B64: ${{ secrets.FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_CREDS_B64 }} | ||
|
||
- name: Setup iOS environment for sample app | ||
uses: ./.github/actions/setup-ios | ||
with: | ||
xcode-version: ${{ env.XCODE_VERSION }} | ||
|
||
- name: Cache CocoaPods downloaded dependencies for faster builds in the future |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
instead of compiling android and ios apps inside of the same job, I suggest separating them into their own job
so they can run in parallel. Could speedup the CI running.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a good idea as this will not only speed up the process but also prevent the other app not to fail if one of them is not compiling. But the changes might be larger, I'll do them in another PR later after trying it out for React Native apps first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good as long as we can verify the release
as a trigger
part of MBL-420
Changes