Bzomak / oolite-msys2

Builds oolite from scratch
0 stars 0 forks source link

Consider trying to build a custom workflow/action #8

Open Bzomak opened 11 months ago

Bzomak commented 11 months ago

Current situation

Most of the dependency building follows the same pattern: check for cache, install MSYS2 and download build dependencies, clone the repository.

Proposal

Could this be converted into a specialised workflow or action, taking all variables as required input?

Consideration: would this make things easier to modify, or more complicated, as it risks becoming its own unique build system?

Bzomak commented 8 months ago

Each dependency would need:

These could all be contained in a single directory.

Bzomak commented 8 months ago

Progress has been made in creating the individual scripts/data files.

Anotherr possible Action to consider making would be a replacement for load-dotenv, allowing to check that the file exists, and that the variable is set.

Bzomak commented 7 months ago

Another possible Action to consider making would be a ShellCheck action that adds the results to a nice Job Summary.