openbios / fcode-utils

A set of utilities to process FCODE, OpenFirmware's byte code
https://www.openfirmware.info/FCODE_suite
GNU General Public License v2.0
29 stars 12 forks source link

Feature: add GitHub workflows to build docker containers #13

Closed mcayland closed 2 years ago

mcayland commented 2 years ago

This PR is a pre-requisite for an upcoming set of changes to introduce GitHub workflows for building OpenBIOS. It essentially creates 2 separate images and makes them publically available in the Packages tab for the openbios organisation:

The workflows are defined so that they can be manually triggered from the Actions tab by an administrator, and also in the case of a push or merge the existing fcode-utils-builder image is used to generate updated binaries in both the public fcode-utils image and a separate zip artifact.

For examples of how this looks please see my repository at https://github.com/mcayland. Note that last build fails because I changed the workflows to use the images hosted by the openbios organisation rather than myself.

mcayland commented 2 years ago

@reinauer @pgeorgi @vivier any thoughts on this at all? The reason I'm keen to get this merged is because the docker images generated above are used as base images for a follow-up patchset that uses workflows to build openbios.

reinauer commented 2 years ago

Great work! There is also a test suite in fcode-utils, but last I tried to get it working on my x86-64 Linux box it was not a pretty sight.