-
Notifications
You must be signed in to change notification settings - Fork 17
[workflows] Add workflows for buliding and testing #182
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
[workflows] Add workflows for buliding and testing #182
Conversation
0f616b3 to
74c9de0
Compare
2a9582b to
8d56c8e
Compare
0d4a392 to
69ade83
Compare
69ade83 to
b516089
Compare
.github/workflows/check-symbol.yml
Outdated
| pending: | ||
| if: | | ||
| github.event.action == 'requested' && | ||
| github.event.workflow_run.event == 'pull_request' |
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.
Why do we need this job?
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.
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.
Hmm. But, why? Those three steps add extra complexity to the workflow file and the information doesn't seem very useful. Won't check-symbol.py exit with non-zero exit code if anything goes wrong?
Also, how does separating the Check Symbols workflow from the Build workflow improve security? Is it different from adding a job that depends on the build job in the Build workflow?
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.
- I agree,
pendingjob is not necessary. But without this job, the "Check Symbol" checker will be shown in the PR status only after the build is over. - To check the symbol, the workflow have to access the allowlist in private repo with the secret `TIZENAPI_TOKEN'. However, for security reasons, these secret keys are not accessible in the forked pull request event workflows.
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.
But without this job, the "Check Symbol" checker will be shown in the PR status only after the build is over.
That's okay. I don't see any problem with it.
However, for security reasons, these secret keys are not accessible in the forked pull request event workflows.
Okay. Now I understand that it's one of GitHub's limitations. I have a slightly different idea but I'll talk to you offline later.
f9a3a6b to
05b469b
Compare
* [workflows] Add workflow jobs for buliding and testing * [workflow] Add a workflow to check symbols of artifacts * [workflow] remove format checking step * [workflow] remove unnecessary id definition * Remove libflutter_engine.so from host-x64-debug artifact * Use WonyoungChoi/workflow-run-status-action@v1 to simplify check-symbol workflow * Remove committing pending status from check-symbol worklfow
* [workflows] Add workflow jobs for buliding and testing * [workflow] Add a workflow to check symbols of artifacts * [workflow] remove format checking step * [workflow] remove unnecessary id definition * Remove libflutter_engine.so from host-x64-debug artifact * Use WonyoungChoi/workflow-run-status-action@v1 to simplify check-symbol workflow * Remove committing pending status from check-symbol worklfow
* [workflows] Add workflow jobs for buliding and testing * [workflow] Add a workflow to check symbols of artifacts * [workflow] remove format checking step * [workflow] remove unnecessary id definition * Remove libflutter_engine.so from host-x64-debug artifact * Use WonyoungChoi/workflow-run-status-action@v1 to simplify check-symbol workflow * Remove committing pending status from check-symbol worklfow
* [workflows] Add workflow jobs for buliding and testing * [workflow] Add a workflow to check symbols of artifacts * [workflow] remove format checking step * [workflow] remove unnecessary id definition * Remove libflutter_engine.so from host-x64-debug artifact * Use WonyoungChoi/workflow-run-status-action@v1 to simplify check-symbol workflow * Remove committing pending status from check-symbol worklfow
* [workflows] Add workflow jobs for buliding and testing * [workflow] Add a workflow to check symbols of artifacts * [workflow] remove format checking step * [workflow] remove unnecessary id definition * Remove libflutter_engine.so from host-x64-debug artifact * Use WonyoungChoi/workflow-run-status-action@v1 to simplify check-symbol workflow * Remove committing pending status from check-symbol worklfow
* [workflows] Add workflow jobs for buliding and testing * [workflow] Add a workflow to check symbols of artifacts * [workflow] remove format checking step * [workflow] remove unnecessary id definition * Remove libflutter_engine.so from host-x64-debug artifact * Use WonyoungChoi/workflow-run-status-action@v1 to simplify check-symbol workflow * Remove committing pending status from check-symbol worklfow
* [workflows] Add workflow jobs for buliding and testing * [workflow] Add a workflow to check symbols of artifacts * [workflow] remove format checking step * [workflow] remove unnecessary id definition * Remove libflutter_engine.so from host-x64-debug artifact * Use WonyoungChoi/workflow-run-status-action@v1 to simplify check-symbol workflow * Remove committing pending status from check-symbol worklfow
* [workflows] Add workflow jobs for buliding and testing * [workflow] Add a workflow to check symbols of artifacts * [workflow] remove format checking step * [workflow] remove unnecessary id definition * Remove libflutter_engine.so from host-x64-debug artifact * Use WonyoungChoi/workflow-run-status-action@v1 to simplify check-symbol workflow * Remove committing pending status from check-symbol worklfow
* [workflows] Add workflow jobs for buliding and testing * [workflow] Add a workflow to check symbols of artifacts * [workflow] remove format checking step * [workflow] remove unnecessary id definition * Remove libflutter_engine.so from host-x64-debug artifact * Use WonyoungChoi/workflow-run-status-action@v1 to simplify check-symbol workflow * Remove committing pending status from check-symbol worklfow

This PR is to add github actions workflows for building the engine source and running unit-tests.
Buildworkflow is :actions/cachefor incremental build, the cache size for each job is about 140~200MB.strategy matrixto create multiple jobs in building task.build-engine.Check Symbolsworkflow :workflow_runevent. (for security reason)tasks