Conversation
|
You can see this github action file running here: samdolt#1 |
|
@samdolt I seems the timeout from github actions is not sufficient to run the build |
ec0cdf6 to
0ec4e23
Compare
@bachp : Indeed, the maximal timeout is only 360 minutes. We have another problem with Github Action, it's that the cache is limited to 5GB. It will be enough for the "download" directory but not fore the SSTATES folder. But maybe we can set up something, store the SSTATE on S3 and then using that over http. |
c70c358 to
4293955
Compare
2409b77 to
ba13326
Compare
|
So I implemted a workarround for the 360 minutes problems, by pre-generating the SSTATE on a local machine. Then I published the SSTATE online. In the CI, if the sstate folder is empty, it will automatically download the pregenerated SSTATE archive. With this scheme, the CI can build meta-codechecker in about 10 minutes. See https://github.com/samdolt/meta-codechecker/actions/runs/1212406448 The generated report is then available as artifacts. |
b9e82d6 to
56b8c72
Compare
|
@samdolt I don't see how we could manage this sstate in the long run. So I rather not merge this as is. I think you already tried http://sstate.yoctoproject.org/, what was the issue with that? Clang is not part of it? |
|
@bachp : I tried the official sstate with the version of ubuntu provided by Github Action (without using docker) but it hasn't work. I think somehow the hash don't match the one from the sstate server. I have looked at why, but I think it will be either:
|
|
@samdolt I looked at what others are doing:
|
No description provided.