on master help sign in
Use unique names in matrix, disable docs for fusion-plugin
commit0cf821298d2ae4b74ad65471eaecffb27b4a62b0 authorHarendra Kumar <harendra.kumar@gmail.com> dateFri 21 Feb 2020, 09:42 (7 years ago) parent166bd93
1 file changed+11−5
.github/workflows/haskell.yml+11−5
.github/workflows/haskell.yml+11−5
@@ -8,7 +8,7 @@ on:
88
99jobs:
1010 build:
11− name: GHC ${{ matrix.ghc_version }}
11+ name: GHC ${{ matrix.name }}
1212 env:
1313 CABAL_REINIT_CONFIG: y
1414 LC_ALL: C.UTF-8
@@ -28,23 +28,29 @@ jobs:
2828 BUILD: ${{ matrix.build }}
2929 GHCVER: ${{ matrix.ghc_version }}
3030 CABAL_BUILD_OPTIONS: ${{ matrix.cabal_build_options }}
31+ DISABLE_DOCS: ${{ matrix.disable_docs }}
3132
3233 runs-on: ubuntu-latest
3334 strategy:
3435 fail-fast: false
3536 matrix:
36− ghc_version: [8.8.1, 8.6.5, 8.6.5]
37+ name: [8.8.1+inspection+Werror, 8.6.5+streamk, 8.6.5+fusion-plugin]
3738 cabal_version: ["3.0"]
3839 include:
39− - ghc_version: 8.8.1
40+ - name: 8.8.1+inspection+Werror
41+ ghc_version: 8.8.1
4042 build: cabal-v2
4143 cabal_build_options: "--project-file=cabal.project.ci"
42− - ghc_version: 8.6.5
44+ - name: 8.6.5+streamk
45+ ghc_version: 8.6.5
4346 build: cabal-v2
4447 cabal_build_options: "--flags streamk"
45− - ghc_version: 8.6.5
48+ - name: 8.6.5+fusion-plugin
49+ ghc_version: 8.6.5
4650 build: cabal-v2
4751 cabal_build_options: "--flags fusion-plugin"
52+ # haddock generation does not work with 8.6.5+fusion-plugin
53+ disable_docs: "y"
4854
4955 steps:
5056 - uses: actions/checkout@v2