chevah / pythia

Chevah's Python 3 distribution
MIT License
4 stars 2 forks source link

Build on more OS'es through Docker under GitHub Actions. #4

Closed dumol closed 3 years ago

dumol commented 3 years ago

Build and test on more Linux distributions through the Docker support within GitHub Actions. More at https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontainer.

Example: https://stackoverflow.com/a/58521709

dumol commented 3 years ago

From duplicate issue #10:

Solving https://github.com/chevah/pythia/issues/8 would still leave a few OS'es not covered. Even in the most optimistic scenario, CentOS 5 and Alpine Linux would still be missing.

Instead, try building packages for these OS'es under Docker. I've already built the generic x64 Linux package on CentOS 5 through our Docker once, by following the instructions from https://github.com/chevah/salt-master/pull/485 for reactivating the disabled CentOS 5 VM. Alpine 3.12 should be easier and straightforward.

More so, it makes sense to try this first. If successful, self-hosted runners through https://github.com/chevah/pythia/issues/8 might not be needed at all. (Note that Windows Server 2012 R2 is not relevant for this repo, as the x86 packages are built on Server 2016 and the x64 ones on Server 2019.)