Skip to content

Ubuntu release used by our CI is too old for fetching SDL3 #897

@sleeptightAnsiC

Description

@sleeptightAnsiC

Follow up from #894:

seems like Ubuntu 24.04.3 LTS (the one that our CI uses) does not ship with SDL3. Any ideas how to deal with this one? Can we simply bump our CI to newer Ubuntu release, or fetch SDL3 from somewhere else?

Since SDL3 uses CMake, using something like this should work across platforms: https://github.com/Ravbug/sdl3-sample [...] We could have CMake download SDL, without needing the git submodules.

Wouldn't that kill our CI time? (considering that it would also have to compile it) I also don't feel very comfortable with introducing a CMake only for fetching/building one dependency.

Good point. Don't want slow build on the CI.

I thought about this problem a bit, and I think the only "correct" solution is to bump CI to newer Ubuntu release. Obviously, we can't do this right now as some stuff may break [...] but maybe in another PR? All other solutions, I don't believe it would be worth to use a different workflow only for supplying SDL3 binaries. What do you think?

Newer Ubuntu should be fine. Could use different workflows if we need older one still.

I'll probably do exactly what Rob suggested, unless our demos are fine with newer GCC and all other packages in latest Ubuntu.

Another solution would be to "cache" all SDL3 artifacts. Not sure how Github runners do this but I have a feeling this should be possible. Though, I would prefer to use the very same workflow for all dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions