OutpostUniverse / op2ext

Outpost 2 extension module loader
1 stars 0 forks source link

Store Linux artifacts #287

Closed DanRStevens closed 4 years ago

DanRStevens commented 4 years ago

Store Linux artifacts on CircleCI.

Brett208 commented 4 years ago

@DanRStevens, I cannot seem to find the artifacts for this build. I think they are supposed to be in a tab next to the configuration tab, but I don't see it.

Also, how does this work on Linux sense there are multiple available operating systems (Debian, CentOS, Fidora, etc)? Is the generated artifact only acceptable for use on a subset of Linux systems, or is it okay with any modern operating system?

-Brett

DanRStevens commented 4 years ago

CircleCI is considerably less obvious about artifacts. When you go to the artifacts tab, it expands some of the folders into a tree view, however the last folder level appears to be collapsed, and so it hides the file attachment. The arrows indicating which levels are expanded or collapsed are not totally obvious.

I'm afraid I'm a little uncertain about how executables work with various distributions of Linux. The following is a bit of a guess. The distributions have differences in expected libraries, and perhaps even install locations. That could easily impact dynamic linking. However, I believe this project was built with static linking, so none of that should matter. I think the main requirement is a minimum Kernel version, and given that we don't use any particularly special or advanced feature, I assume the minimum would be pretty old and widespread by now.

DanRStevens commented 4 years ago

Ahh, thanks for the info. At least we know how this stuff works now.

Oh, and technically, the Linux build cross compiles for Windows from Linux, so you could potentially use the Mingw produced DLL from Windows. On Linux, it's all essentially Windows code being run through Wine. I hadn't really thought about that before.