Skip to content

Commit

Permalink
Update the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Dec 4, 2023
1 parent 8a9215d commit 31f09e0
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 37 deletions.
47 changes: 27 additions & 20 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,63 +58,70 @@ jobs:
matrix:
include:

- name: 9.2.7-doctest
ghc_version: 9.2.7
- name: 9.8.1-Werror+doctest
ghc_version: 9.8.1
build: cabal-v2
runner: ubuntu-latest
cabal-version: 3.6
cabal-version: 3.10.1.0
doctest: "y"
cabal_project: cabal.project.user
cabal_project: cabal.project.d/master-Werror

- name: 9.6.3-macos
ghc_version: 9.6.3
build: cabal-v2
runner: macos-latest
cabal-version: 3.10.1.0
cabal_project: cabal.project.d/master

- name: 9.4.4+Werror
- name: 9.4.4-streamly-0.9.0
ghc_version: 9.4.4
build: cabal-v2
runner: ubuntu-latest
cabal-version: 3.8.1.0
cabal_project: cabal.project.Werror
cabal_project: cabal.project.d/streamly-0.9.0

- name: 9.4.4-streamly-0.10.0
ghc_version: 9.4.4
build: cabal-v2
runner: ubuntu-latest
cabal-version: 3.8.1.0
cabal_project: cabal.project.d/streamly-0.10.0

- name: 9.2.7+fusion-plugin
ghc_version: 9.2.7
build: cabal-v2
runner: ubuntu-latest
cabal-build-options: --flag fusion-plugin
cabal-version: 3.6
cabal_project: cabal.project.user
cabal_project: cabal.project.d/master

- name: 9.0.2
ghc_version: 9.0.2
build: cabal-v2
runner: ubuntu-latest
cabal-version: 3.2
cabal_project: cabal.project.user

- name: 8.10.7
ghc_version: 8.10.7
build: cabal-v2
runner: ubuntu-latest
cabal-version: 3.2
cabal_project: cabal.project.user
cabal_project: cabal.project.d/master

- name: 8.10.7+macOS
ghc_version: 8.10.7
build: cabal-v2
runner: macos-latest
cabal-version: 3.2
cabal_project: cabal.project.user
cabal_project: cabal.project.d/master

- name: 8.8.4
ghc_version: 8.8.4
build: cabal-v2
runner: ubuntu-latest
cabal-version: 3.2
cabal_project: cabal.project.user
cabal_project: cabal.project.d/master

- name: 8.6.5
ghc_version: 8.6.5
build: cabal-v2
runner: ubuntu-latest
cabal-version: 3.2
cabal_project: cabal.project.user
cabal_project: cabal.project.d/master

- name: hlint
ghc_version: 8.10.7
Expand All @@ -123,7 +130,7 @@ jobs:
hlint_targets: "src test Benchmark"
runner: ubuntu-latest
cabal-version: 3.2
cabal_project: cabal.project.user
cabal_project: cabal.project.d/master

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -166,7 +173,7 @@ jobs:
rm -f cabal-docspec.xz
chmod a+x $HOME/.cabal/bin/cabal-docspec
cabal update
cabal build all --project-file cabal.project.user
cabal build all --project-file cabal.project.d/master
$HOME/.cabal/bin/cabal-docspec --version
$HOME/.cabal/bin/cabal-docspec --timeout 60
else
Expand Down
7 changes: 4 additions & 3 deletions .packcheck.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
.hlint.yaml
hie.yaml
appveyor.yml
cabal.project.Werror
default.nix
stack.yaml
cabal.project
cabal.project.user
cabal.project.d/master
cabal.project.d/master-Werror
cabal.project.d/streamly-0.9.0
cabal.project.d/streamly-0.10.0
14 changes: 14 additions & 0 deletions cabal.project.d/master
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
packages: streamly-process.cabal

source-repository-package
type: git
location: https://github.com/composewell/streamly.git
tag: master

source-repository-package
type: git
location: https://github.com/composewell/streamly.git
tag: master
subdir: core

jobs: 1
File renamed without changes.
5 changes: 5 additions & 0 deletions cabal.project.d/streamly-0.10.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
packages: streamly-process.cabal

constraints:
streamly == 0.10.0.*
, streamly-core == 0.2.0.*
5 changes: 5 additions & 0 deletions cabal.project.d/streamly-0.9.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
packages: streamly-process.cabal

constraints:
streamly == 0.9.0.*
, streamly-core == 0.1.0.*
14 changes: 0 additions & 14 deletions cabal.project.user

This file was deleted.

0 comments on commit 31f09e0

Please sign in to comment.