-
Notifications
You must be signed in to change notification settings - Fork 25k
convert circleci workflows to github actions for android build and test #43644
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
convert circleci workflows to github actions for android build and test #43644
Conversation
|
Base commit: 2205880 |
cortinico
left a comment
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.
Great stuff 👍 I've left a couple of comments but then we can import this one
|
@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
| - name: Cache android build artifacts | ||
| uses: actions/[email protected] | ||
| with: | ||
| key: android-build-cache-${{ github.run_number}} |
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.
Shouldn't we specify also a restore key here?
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.
Unless you need a different restore key, it is not needed.
|
|
||
| echo ${{ steps.hermes-version.outputs.version }} | ||
| build_andriod: | ||
| runs-on: ubuntu-latest |
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.
| runs-on: ubuntu-latest | |
| runs-on: 8-core-ubuntu |
Can we make this and other compilation heavy jobs on 8-core-ubuntu? This should be similar to the same machine we had on CircleCI
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.
You could, however these larger runners would need to be configured in your org with the label 8-core-ubuntu in order to run. There are no runners with this label available by default.
|
@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@cortinico merged this pull request in 036ffbc. |
Summary:
This pull request converts the CircleCI workflows to GitHub actions workflows. This change only inlcudes the android build and test jobs.
Changelog:
Test Plan:
Here is the latest workflow run in my fork.
https://fburl.com/workplace/f6mz6tmw