-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use "ghc" library in place of "haskell-src". (#248)
Version 0.8.0 The "ghc" library is now used to parse and print Haskell source code. Switching to "ghc" adds support for language features beyond Haskell 98 and improves diagnostic messages for sources specified with "--extraInstanceFile". Breakage should be limited to users of: * Proto3.Suite.DotProto.Generate * Proto3.Suite.DotProto.Generate.LargeRecord * Proto3.Suite.DotProto.Generate.Syntax To reflect the potential for breakage we increase the library version to 0.8.0. This change also replaces testing of GHC 8.10.7 with testing of GHC 9.6.2 and GHC 9.8.1, and indicates in CHANGELOG.md that we are dropping support for GHC 8.10 and adding support for GHC 9.6. This change also fixes some build failures that occurred when Swagger support is disabled, and expands the flag combinations to all the ones currently supported. Support for dhall and large-records is limited in more recent versions of GHC due to problems with building those dependencies.
- Loading branch information
Showing
46 changed files
with
2,952 additions
and
699 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,10 +12,34 @@ jobs: | |
- ubuntu-latest | ||
- macos-latest | ||
compiler: | ||
- ghc8107 | ||
- ghc902 | ||
- ghc924 | ||
- ghc946 | ||
- ghc928 | ||
- ghc948 | ||
- ghc962 | ||
- ghc981 | ||
dhall: | ||
- false | ||
- true | ||
swagger: | ||
- false | ||
- true | ||
swaggerWrapper: | ||
- false | ||
- true | ||
largeRecords: | ||
- false | ||
- true | ||
exclude: | ||
- swagger: false | ||
swaggerWrapper: true | ||
- compiler: ghc962 | ||
largeRecords: true | ||
- compiler: ghc981 | ||
largeRecords: true | ||
- compiler: ghc981 | ||
dhall: true | ||
- compiler: ghc902 | ||
os: macos-latest | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -27,5 +51,4 @@ jobs: | |
with: | ||
name: awakesecurity | ||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | ||
- run: nix-build --attr proto3-suite --argstr compiler "${{ matrix.compiler }}" --arg enableDhall true --arg enableLargeRecords false | ||
- run: nix-build --attr proto3-suite --argstr compiler "${{ matrix.compiler }}" --arg enableDhall true --arg enableLargeRecords true | ||
- run: nix-build --attr proto3-suite --argstr compiler "${{ matrix.compiler }}" --arg enableDhall "${{ matrix.dhall }}" --arg enableSwagger "${{ matrix.swagger }}" --arg swaggerWrapperFormat "${{ matrix.swaggerWrapper }}" --arg enableLargeRecords "${{ matrix.largeRecords }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ mkDerivation, assoc, base, comonad, containers | ||
, foldable1-classes-compat, hspec, hspec-discover, lib, QuickCheck | ||
, tagged, template-haskell, th-abstraction, transformers | ||
, transformers-compat | ||
}: | ||
mkDerivation { | ||
pname = "bifunctors"; | ||
version = "5.6.2"; | ||
sha256 = "1086a9285061eed0c2c5d3cb65aa223defd52fca6d0515bb69ddf2dbc3d9697a"; | ||
libraryHaskellDepends = [ | ||
assoc base comonad containers foldable1-classes-compat tagged | ||
template-haskell th-abstraction transformers | ||
]; | ||
testHaskellDepends = [ | ||
base hspec QuickCheck template-haskell transformers | ||
transformers-compat | ||
]; | ||
testToolDepends = [ hspec-discover ]; | ||
homepage = "http://github.com/ekmett/bifunctors/"; | ||
description = "Bifunctors"; | ||
license = lib.licenses.bsd3; | ||
} |
Oops, something went wrong.