diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index e77da72..1d4dd90 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -41,118 +41,118 @@ jobs: fail-fast: false matrix: - os: [ubuntu-latest, macOS-latest, windows-latest] + os: [windows-2019] plan: # Nightly releases - ghc: latest-nightly cabal: latest - # Latest releases - - ghc: latest - cabal: latest - # Recommended releases (update according to ghcup) - - ghc: "9.2" - cabal: "3.6" - # Some previously recommended releases of ghc with matching cabal - - ghc: "8.10" - cabal: "3.2" - - ghc: "8.8" - cabal: "3.0" - # cabal-3.0 install might have the Windows symlinking problem - # https://github.com/haskell/cabal/issues/5748 - - ghc: "8.6" - cabal: "2.4" + # # Latest releases + # - ghc: latest + # cabal: latest + # # Recommended releases (update according to ghcup) + # - ghc: "9.2" + # cabal: "3.6" + # # Some previously recommended releases of ghc with matching cabal + # - ghc: "8.10" + # cabal: "3.2" + # - ghc: "8.8" + # cabal: "3.0" + # # cabal-3.0 install might have the Windows symlinking problem + # # https://github.com/haskell/cabal/issues/5748 + # - ghc: "8.6" + # cabal: "2.4" cabal_update: ["false"] # The following tests do not set 'cabal-update', which defaults to 'true' then. - include: - - # Test #210 (XDG): is the cabal store-dir set to something meaningful? - - os: ubuntu-latest - plan: - ghc: "9.6" - cabal: "3.10" - cabal_update: "true" - # With choco, cabal 3.10.1.0 should map to 3.10.1.1 - - os: windows-latest - plan: - ghc: "9.6" - cabal: "3.10" - cabal_update: "true" - - # Test some old versions - - os: ubuntu-latest - plan: - ghc: "8.2.2" - cabal: "2.4.1.0" - cabal_update: "false" - - os: ubuntu-20.04 - plan: - ghc: "7.4.2" - cabal: "3.4" - # ubuntu-20.04/hvr has of GHC 7 just 7.0.1, 7.0.4, 7.2.2, 7.4.2, 7.10.3 - # and of cabal just 2.4, 3.0, 3.2, 3.4 - # according to https://launchpad.net/~hvr/+archive/ubuntu/ghc?field.series_filter=focal - - # Any matrix combinations with latest-nightly should add the appropriate release channel - - plan: - ghc: latest-nightly - ghcup_release_channels: | - https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml - - # Test deprecated release channel still works for now - - os: ubuntu-latest - ghcup_release_channel: "https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml" - plan: - ghc: "9.6.0.20230111" - cabal: "3.8" - - # Test ghcup release channels - - os: ubuntu-latest - ghcup_release_channels: | - https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.7.yaml - https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml - https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-vanilla-0.0.7.yaml - plan: - ghc: "9.6.0.20230111" - cabal: "3.8" - - # setup does something special for 7.10.3 (issue #79) - - os: ubuntu-20.04 - plan: - ghc: "7.10.3" - cabal: "3.6" - - os: macOS-latest - plan: - ghc: "7.10.3" - cabal: "3.4" - - # Andreas 2022-12-29, issue #98: GHC 7.10 failed to install on windows (choco) - - os: windows-latest - plan: - ghc: "7.10" - cabal: "3.0" - - # Test for issue #129: GHC 9.4.3 failed to install on windows (choco) - - os: windows-latest - plan: - ghc: "9.4.3" - cabal: "3.8.1.0" - - os: windows-latest - plan: - ghc: "9.2.5" - cabal: "3.6" - - # Test ghcup on windows (PR #206) which choco does not have 9.4.5 - - os: windows-latest - plan: - ghc: "9.4.5" - cabal: "3.8" - - # Test GHC 9.4.4 on windows (Issue #245) - - os: windows-latest - plan: - ghc: "9.4.4" - cabal: "3.10.1.0" + # include: + + # # Test #210 (XDG): is the cabal store-dir set to something meaningful? + # - os: ubuntu-latest + # plan: + # ghc: "9.6" + # cabal: "3.10" + # cabal_update: "true" + # # With choco, cabal 3.10.1.0 should map to 3.10.1.1 + # - os: windows-latest + # plan: + # ghc: "9.6" + # cabal: "3.10" + # cabal_update: "true" + + # # Test some old versions + # - os: ubuntu-latest + # plan: + # ghc: "8.2.2" + # cabal: "2.4.1.0" + # cabal_update: "false" + # - os: ubuntu-20.04 + # plan: + # ghc: "7.4.2" + # cabal: "3.4" + # # ubuntu-20.04/hvr has of GHC 7 just 7.0.1, 7.0.4, 7.2.2, 7.4.2, 7.10.3 + # # and of cabal just 2.4, 3.0, 3.2, 3.4 + # # according to https://launchpad.net/~hvr/+archive/ubuntu/ghc?field.series_filter=focal + + # # Any matrix combinations with latest-nightly should add the appropriate release channel + # - plan: + # ghc: latest-nightly + # ghcup_release_channels: | + # https://ghc.gitlab.haskell.org/ghcup-metadata/ghcup-nightlies-0.0.7.yaml + + # # Test deprecated release channel still works for now + # - os: ubuntu-latest + # ghcup_release_channel: "https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml" + # plan: + # ghc: "9.6.0.20230111" + # cabal: "3.8" + + # # Test ghcup release channels + # - os: ubuntu-latest + # ghcup_release_channels: | + # https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-0.0.7.yaml + # https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.7.yaml + # https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-vanilla-0.0.7.yaml + # plan: + # ghc: "9.6.0.20230111" + # cabal: "3.8" + + # # setup does something special for 7.10.3 (issue #79) + # - os: ubuntu-20.04 + # plan: + # ghc: "7.10.3" + # cabal: "3.6" + # - os: macOS-latest + # plan: + # ghc: "7.10.3" + # cabal: "3.4" + + # # Andreas 2022-12-29, issue #98: GHC 7.10 failed to install on windows (choco) + # - os: windows-latest + # plan: + # ghc: "7.10" + # cabal: "3.0" + + # # Test for issue #129: GHC 9.4.3 failed to install on windows (choco) + # - os: windows-latest + # plan: + # ghc: "9.4.3" + # cabal: "3.8.1.0" + # - os: windows-latest + # plan: + # ghc: "9.2.5" + # cabal: "3.6" + + # # Test ghcup on windows (PR #206) which choco does not have 9.4.5 + # - os: windows-latest + # plan: + # ghc: "9.4.5" + # cabal: "3.8" + + # # Test GHC 9.4.4 on windows (Issue #245) + # - os: windows-latest + # plan: + # ghc: "9.4.4" + # cabal: "3.10.1.0" steps: - uses: actions/checkout@v3