From 7751cdb1bd047d100158ac4573806e43a134bf59 Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Sun, 29 Oct 2023 13:30:49 +0530 Subject: [PATCH] Test with fusion-plugin 0.2.7 --- .github/workflows/haskell.yml | 46 +++++++++++++++-------------------- cabal.project | 4 +++ 2 files changed, 23 insertions(+), 27 deletions(-) diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index 12494d96eb..80cec75574 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -58,8 +58,8 @@ jobs: matrix: # The order is important to optimize fail-fast. name: - - 9.4.4-Werror - - 9.2.7-docspec + - 9.4.7-Werror + - 9.2.8-docspec # - 8.10.7-coverage # Note: if cabal.project is not specified benchmarks and tests won't @@ -70,45 +70,46 @@ jobs: ghc_version: head runner: ubuntu-latest build: cabal - cabal_version: 3.8.1.0 + cabal_version: 3.10.1.0 cabal_project: cabal.project.ghc-head disable_sdist_build: "y" ignore_error: true - - name: 9.6.1 - ghc_version: 9.6.1 + - name: 9.8.1-fusion-inspection + ghc_version: 9.8.1 runner: ubuntu-latest build: cabal cabal_version: 3.10.1.0 disable_sdist_build: "y" cabal_project: cabal.project - ignore_error: true - - name: 9.4.4-Werror - ghc_version: 9.4.4 + cabal_build_options: "--flag fusion-plugin --flag inspection" + ignore_error: false + - name: 9.6.3-fusion-inspection + ghc_version: 9.4.7 runner: ubuntu-latest build: cabal - cabal_version: 3.8.1.0 + cabal_version: 3.10.1.0 disable_sdist_build: "y" - cabal_project: cabal.project.Werror + cabal_project: cabal.project + cabal_build_options: "--flag fusion-plugin --flag inspection" ignore_error: false - - name: 9.4.4-fusion-inspection - ghc_version: 9.4.4 + - name: 9.4.7-Werror + ghc_version: 9.4.7 runner: ubuntu-latest build: cabal cabal_version: 3.8.1.0 disable_sdist_build: "y" - cabal_project: cabal.project - cabal_build_options: "--flag fusion-plugin --flag inspection" + cabal_project: cabal.project.Werror ignore_error: false - - name: 9.2.7 - ghc_version: 9.2.7 + - name: 9.2.8 + ghc_version: 9.2.8 runner: ubuntu-latest build: cabal cabal_project: cabal.project cabal_version: 3.6.2.0 disable_sdist_build: "y" ignore_error: false - - name: 9.2.7-docspec - ghc_version: 9.2.7 + - name: 9.2.8-docspec + ghc_version: 9.2.8 runner: ubuntu-latest doctest: "y" cabal_version: 3.6.2.0 @@ -160,15 +161,6 @@ jobs: cabal_project: cabal.project disable_sdist_build: "y" ignore_error: false - - name: 8.6.5-no-fusion-unoptimized - ghc_version: 8.6.5 - runner: ubuntu-latest - build: cabal - cabal_version: 3.6.2.0 - cabal_project: cabal.project - cabal_build_options: "--flag no-fusion --flag -opt" - disable_sdist_build: "y" - ignore_error: false - name: 8.6.5-debug-unoptimized ghc_version: 8.6.5 runner: ubuntu-latest diff --git a/cabal.project b/cabal.project index d5040f6609..9714095622 100644 --- a/cabal.project +++ b/cabal.project @@ -3,3 +3,7 @@ packages: streamly.cabal , test/streamly-tests.cabal , benchmark/streamly-benchmarks.cabal , docs/streamly-docs.cabal +source-repository-package + type: git + location: https://github.com/composewell/fusion-plugin.git + tag: ccfe7933f981fce895e3ac3f64077d8cb9e10f59