Skip to content

Commit

Permalink
Disable GHC 9.4 on Windows
Browse files Browse the repository at this point in the history
Since GHC 9.4 uses LLVM on Windows, some dependencies
fail to build
  • Loading branch information
dahlia committed Sep 8, 2024
1 parent 2c33c04 commit 059fbfc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@ jobs:
ghc-version: "8.10"
- os: windows-2022
ghc-version: "9.0"
# GHC 9.4 uses LLVM on Windows which breaks some dependencies:
- os: windows-2022
ghc-version: "9.2"
ghc-version: "9.4"
env:
STACK_YAML: stack-ghc-${{ matrix.ghc-version }}.yaml
steps:
Expand Down Expand Up @@ -186,10 +187,16 @@ jobs:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: actions/download-artifact@v4
- if: ${{ matrix.os }} != 'windows-2022'
uses: actions/download-artifact@v4
with:
name: binaries-${{ matrix.os }}-ghc-9.4
path: ${{ runner.temp }}/bin
- if: ${{ matrix.os }} == 'windows-2022'
uses: actions/download-artifact@v4
with:
name: binaries-${{ matrix.os }}-ghc-9.2
path: ${{ runner.temp }}/bin
- run: chmod +x ${{ runner.temp }}/bin/seonbi*
if: "!startsWith(matrix.os, 'windows-')"
- working-directory: scripts/deno/
Expand Down Expand Up @@ -351,7 +358,7 @@ jobs:
path: /tmp/binaries-macos-x86_64
- uses: actions/download-artifact@v4
with:
name: binaries-windows-2022-ghc-9.4
name: binaries-windows-2022-ghc-9.2
path: /tmp/binaries-windows
- run: |
set -e
Expand Down

0 comments on commit 059fbfc

Please sign in to comment.