Skip to content

Commit

Permalink
Disable Werror in most of the CIs
Browse files Browse the repository at this point in the history
  • Loading branch information
adithyaov committed Jan 29, 2024
1 parent b89737c commit 6316285
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/packcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ jobs:
PACKCHECK_COMMAND: ${{ matrix.command }} ${{ matrix.pack_options }}

runs-on: ${{ matrix.runner }}
continue-on-error: ${{ matrix.ignore_error }}
strategy:
fail-fast: false
matrix:
Expand All @@ -97,15 +98,17 @@ jobs:
runner: ubuntu-latest
cabal-version: 3.8.1.0
pack_options: >-
CABAL_PROJECT=cabal.project.d/master-Werror
CABAL_PROJECT=cabal.project.d/master
ignore_error: false

- name: 9.6.2
- name: 9.6.2-Werror
ghc_version: 9.6.2
command: cabal-v2
runner: ubuntu-latest
cabal-version: 3.8.1.0
pack_options: >-
CABAL_PROJECT=cabal.project.d/master-Werror
ignore_error: true

- name: 9.4.4
ghc_version: 9.4.4
Expand All @@ -114,6 +117,7 @@ jobs:
cabal-version: 3.8.1.0
pack_options: >-
CABAL_PROJECT=cabal.project.d/streamly-core-0.2.0
ignore_error: false

- name: 9.2.7
ghc_version: 9.2.7
Expand All @@ -122,14 +126,16 @@ jobs:
cabal-version: 3.6.2.0
pack_options: >-
CABAL_PROJECT=cabal.project.d/streamly-core-0.1.0
ignore_error: false

- name: 9.0.1
ghc_version: 9.0.1
command: cabal-v2
runner: ubuntu-latest
cabal-version: 3.2
pack_options: >-
CABAL_PROJECT=cabal.project.d/master-Werror
CABAL_PROJECT=cabal.project.d/master
ignore_error: false

- name: 8.10.7
ghc_version: 8.10.7
Expand All @@ -138,36 +144,41 @@ jobs:
cabal-version: 3.2
pack_options: >-
CABAL_PROJECT=cabal.project.d/bytestring-0.10.12
ignore_error: false

- name: 8.10.7+stack
command: stack
runner: ubuntu-latest
pack_options: >-
STACK_YAML=stack.yaml
ignore_error: false

- name: 8.10.7+macOS
ghc_version: 8.10.7
command: cabal-v2
runner: macos-latest
cabal_version: 3.4
pack_options: >-
CABAL_PROJECT=cabal.project.d/master-Werror
CABAL_PROJECT=cabal.project.d/master
ignore_error: false

- name: 8.8.4
ghc_version: 8.8.4
command: cabal-v2
runner: ubuntu-latest
cabal-version: 3.2
pack_options: >-
CABAL_PROJECT=cabal.project.d/master-Werror
CABAL_PROJECT=cabal.project.d/master
ignore_error: false

- name: 8.6.5
ghc_version: 8.6.5
command: cabal-v2
runner: ubuntu-latest
cabal-version: 3.2
pack_options: >-
CABAL_PROJECT=cabal.project.d/master-Werror
CABAL_PROJECT=cabal.project.d/master
ignore_error: false

- name: hlint
ghc_version: 8.8.4
Expand All @@ -177,6 +188,7 @@ jobs:
HLINT_OPTIONS="lint"
HLINT_TARGETS="src"
cabal-version: 3.2
ignore_error: false

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 6316285

Please sign in to comment.