Skip to content

Build matrix generation #1764

Open
Open
@shlevy

Description

@shlevy

It would be great if we could automatically generate build matrices from cabal files. E.g. given:

cabal-version:      3.0
name:               foo
version:            0.1.0.0
tested-with:        GHC == { 8.10.7, 9.2.4 }

library
  exposed-modules:
    Foo

  build-depends:
    , base             ^>= { 4.14, 4.16 }
    , primitive        ^>= 0.7
    , resourcet        ^>= { 1.2, 1.3 }

It would be awesome if I could get derivations to build foo with various the cartesian product of GHC 8.10.7 or 9.2.4 and resourcet ^>=1.2 and ^>=1.3, with the appropriate base being chosen on each path, and also great if I could get some variant of "build with latest GHC with allow-newer=foo:^all"

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestpreservedKeep stale bot away

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions