get-tested
get-tested copied to clipboard
Feature request: support cabal flags in the CI matrix
Hello,
I’m currently using get-tested with newest: true to build releases for the newest GHC my software supports. My cabal file also has flags like:
flag transformation
description: Enable transformation (experimental)
default: False
manual: True
I would like my CI to build releases both with and without such flags enabled.
Probably I could do some filtering with a pattern on the description field.
One way this could work is by adding the flags into the matrix as separate entries, for example:
{
"include": [
{
"ghc": "9.6.6",
"os": "windows-latest",
"cabal_flags": []
},
{
"ghc": "9.6.6",
"os": "windows-latest",
"cabal_flags": ["transformation","other-experimental-flag"]
}
]
}
This would let CI automatically run jobs with and without the experimental features.
Would a feature like this be in scope for get-tested?