cppalliance / mrdocs

MrDocs: A Clang/LLVM tool for building reference documentation from C++ code and javadoc comments.
https://mrdocs.com
Other
75 stars 16 forks source link

ci: create release for Ubuntu 20.04 #562

Closed alandefreitas closed 5 months ago

alandefreitas commented 5 months ago

This commit adds a new workflow that creates a Linux release on Ubuntu 20.04. This allows the release package to be used on more versions of Ubuntu. Since the C++ compilers we need are not available in Ubuntu 20.04, we use the clang executable from our own LLVM built from source to build the dependencies and MrDocs.

alandefreitas commented 5 months ago

While working on many things related to Antora + Mrdocs, I've been exploring this solution in parallel for about 10 days now. As each attempt might take a couple of hours, I've been tweaking CI here and there and seeing how it goes in parallel.

It's a good time to concede defeat. It's safe to say this is a bad idea to solve #547 because it's very unstable:

Considering these limitations, the next idea I'll explore to solve #547 is a wrapper overriding system libs. This strategy is somewhat similar to what APBuild does but it's manually and more stable. It's similar to how CMake provides its binaries. This wrapper also seemed like a complex solution at first but it turns out to be much simpler and more effective than what we're trying to do here. I'll describe the proposed solution in #547.