Skip to content

[RFC] Add a simpler pacboy alternative for installing mingw packages #492

@lazka

Description

@lazka

With the goal to have a build matrix where you only vary MSYSTEM and the rest of the config is the same, one either needs to also specify the package prefix or use the pacboy option.

I was wondering if we could provide an additional action option like "msystem_install" which takes a list of packages and just prefixes them with "$MINGW_PACKAGE_PREFIX", merging them with the existing "install" option. In case of "MSYS" it would be the same as "install". It might be easier to understand and doesn't require an extra tool to know about.

    - uses: msys2/setup-msys2@v2
      with:
        msystem: UCRT64
        install: git make
        msystem_install: openssl curl

Another option might be to have some templating and do something like install: git @MINGW_PACKAGE_PREFIX@-openssl. But I'm worried that with env vars, github/matrix vars, another "variable" type specific to this action might add more confusion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions