From 63162854670093ebcaea33aee75cab6466072d73 Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Tue, 30 Jan 2024 01:51:11 +0530 Subject: [PATCH] Disable Werror in most of the CIs --- .github/workflows/packcheck.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/packcheck.yml b/.github/workflows/packcheck.yml index ce50045..7f0ba2d 100644 --- a/.github/workflows/packcheck.yml +++ b/.github/workflows/packcheck.yml @@ -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: @@ -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 @@ -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 @@ -122,6 +126,7 @@ 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 @@ -129,7 +134,8 @@ jobs: 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 @@ -138,12 +144,14 @@ 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 @@ -151,7 +159,8 @@ jobs: 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 @@ -159,7 +168,8 @@ jobs: 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 @@ -167,7 +177,8 @@ jobs: 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 @@ -177,6 +188,7 @@ jobs: HLINT_OPTIONS="lint" HLINT_TARGETS="src" cabal-version: 3.2 + ignore_error: false steps: - uses: actions/checkout@v2