-
Notifications
You must be signed in to change notification settings - Fork 726
convert circleci workflows to github actions #1301
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 #1301
Conversation
|
Thanks for putting this together! I think the windows failures are unrelated and will have fix landing shortly. I am curious about what we could do for the android test cases that don't currently seem to be included. |
If we can identify a suitable docker image for the android jobs, I'd be happy to make another PR for these. Let me know please. |
|
@robandpdx I think we want to do largely the same as React Native here for the android tests. I see their PR is coming along as well (facebook/react-native#42931), but it's not obvious to me how to answer the question of which docker image is being used. I think their android tests are being invoked here. |
|
@mattbfb Are the android tests being run in circleci currently? Can you point me to the circleci config please? |
|
@robandpdx Sure thing 👍 https://github.com/facebook/hermes/blob/main/.circleci/config.yml is our current config. https://github.com/facebook/hermes/blob/main/.circleci/config.yml#L641 is an instance of android testing. |
|
@mattbfb Thanks! I'll add that. Any idea what this error is with the linux job in my fork? Fresh rebase today. |
|
@robandpdx Hm, I'm not sure. Is there any way we can debug these as they run in GitHub actions? |
@mattbfb The best way to debug this is probably to run the commands from the workflow in a fresh ubuntu 20.04 linux vm. |
|
The ErrorThe Error |
|
@robandpdx I did some digging through the build; the first error appears to be because the testing step expects Hermes to be cloned and built from the directory contained in the The second error appears to be a lack of a running android instance. Does the image being used contain (and launch) an Android simulator? The CircleCI version used an image that had an android simulator, and launched it using the |
@mattbfb Thank you for the help here. I'll see if I adjust the
The |
|
@robandpdx I think that's all correct, and I see tests now appear to be passing! |
|
@mattbfb has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@robandpdx This one is looking good and on its way to land. Thanks! Can you perform the same porting for the "Static Hermes" project (https://github.com/facebook/hermes/tree/static_h)? It has a CircleCI build in the same location, but with a much simpler implementation (https://github.com/facebook/hermes/blob/static_h/.circleci/config.yml) |
@mattbfb I can. I'm in a holding pattern currently because our engagement has run out of hours. I believe more hours will be allocated to this effort in the not so distant future. When/if that happens, I'll get it done. |
Summary
This pull request converts the CircleCI workflows to GitHub actions workflows.
Errors
The
linuxjob fails with the following unit test failure...Error
Test Plan
The workflows was tested in my fork. Here is the latest workflow run in my fork.
https://fburl.com/workplace/f6mz6tmw