From 765931189445990783a0a29192a246fce3118d70 Mon Sep 17 00:00:00 2001 From: Masahiro Sakai Date: Thu, 5 Sep 2024 00:53:14 +0900 Subject: [PATCH] use GHC-9.6 for building release for 64-bit Windows --- .github/workflows/build.yaml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9389b798..ceb7c5fb 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -33,6 +33,14 @@ jobs: platform: macos coveralls: false release: true + - ghc: '9.6.6' + os: windows-latest + stack_yaml: 'stack-ghc-9.6.yaml' + stack_args: '' + flags: '--flag toysolver:BuildToyFMF --flag toysolver:BuildSamplePrograms --flag toysolver:BuildMiscPrograms' + platform: win64 + coveralls: false + release: true - ghc: '9.4.8' os: ubuntu-latest @@ -58,17 +66,6 @@ jobs: platform: linux-x86_64 coveralls: false - # Current version of stack (2.7.5) cannot build foreign libraries for windows on GHC >=9.0 - # We need a stack built with Cabal-3.8.1 which contains the fix /~https://github.com/haskell/cabal/pull/7764 . - - ghc: '8.10.7' - os: windows-latest - stack_yaml: 'stack-ghc-8.10.yaml' - stack_args: '' - flags: '--flag toysolver:BuildToyFMF --flag toysolver:BuildSamplePrograms --flag toysolver:BuildMiscPrograms' - platform: win64 - coveralls: false - release: true - - ghc: '8.8.4' os: ubuntu-latest stack_yaml: 'stack-ghc-8.8.yaml'