xstudio
xstudio copied to clipboard
Add Ubuntu CI build
This is a proof of concept Ubuntu CI setup using GitHub Actions.
Not all the tests are currently passing. Some of them are timing out and some are segfaulting, Not really sure why yet, its probably a case by case thing.
85% tests passed, 13 tests failed out of 85
Total Test time (real) = 4524.96 sec
The following tests FAILED:
1 - python_tests (Failed)
10 - global_global_actor_remote_test (Failed)
16 - media_media_actor_test (Timeout)
19 - media_media_test (Failed)
28 - playhead_playhead_actor_test (SEGFAULT)
30 - playlist_playlist_actor_test (Timeout)
32 - ffprobe_tests (Failed)
34 - openexr_tests (Failed)
39 - session_session_actor_test (Failed)
43 - subset_subset_actor_test (Timeout)
50 - opengl_font_rendering_test (SEGFAULT)
Errors while running CTest
69 - utility_frame_time_test (Failed)
71 - utility_json_store_test (Failed)
Here is how long things are taking.
As we can see, all the time is spent building xSTUDIO and running tests.
Surprisingly building dependencies is pretty fast, this is mostly because many of them exist as deb packages.
Thanks for this contribution, Mark. Before I merge I have a question as I'm just learning about github workflows: will a CI build of xstudio incur some cost to ASWF that we need to consider? I've heard that there is some limited budget for the organisation. Do you know if the long build time would mean we're chewing through a lot of this budget (if there is one) every time we do it?
@tedwaine I had the same question too. I'm not sure how github actions is setup with the ASWF or how cpu time would be charged if it would be. I also thought the service was offered free for public opensource projects.
@tedwaine I had the same question too. I'm not sure how github actions is setup with the ASWF or how cpu time would be charged if it would be. I also thought the service was offered free for public opensource projects.
CI is free, at least CPU only builds with the standard runners are free. If you use the larger runners or the GPU runners, then there is an cost associated to them.
As far as I se, you are using the ubuntu-latest
runner, which is free.
FYI, for any CI/GH/tooling related questions, please feel free to ask in the #wg-ci
channel on Slack!