Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support new GHCs on CI #577

Merged
merged 8 commits into from
Nov 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update CI
  • Loading branch information
vrom911 committed Oct 28, 2024
commit c5448dee1394752a442c275e3e9acc62bd211838
39 changes: 23 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -28,7 +28,17 @@ jobs:
- "9.2.4"
- "9.4.8"
- "9.6.6"
- "9.8.2"
- "9.10.1"
exclude:
- os: macOS-latest
ghc: 9.6.6
- os: macOS-latest
ghc: 9.4.8
- os: macOS-latest
ghc: 9.2.4
- os: macOS-latest
ghc: 9.0.2
- os: macOS-latest
ghc: 8.10.7
- os: macOS-latest
@@ -38,6 +48,15 @@ jobs:
- os: macOS-latest
ghc: 8.4.4


- os: windows-latest
ghc: 9.6.6
- os: windows-latest
ghc: 9.4.8
- os: windows-latest
ghc: 9.2.4
- os: windows-latest
ghc: 9.0.2
- os: windows-latest
ghc: 8.10.7
- os: windows-latest
@@ -47,18 +66,6 @@ jobs:
- os: windows-latest
ghc: 8.4.4

# On Windows 9.4 and 9.6 we get the following, so disabling
# them for now.
#
# ghc-9.6.6.exe: C:\sr\ghc-9.6.6\hashable-1.4.7.0-30c04c59e98d75fc2789d517f4b0591876c2983e\lib\libHShashable-1.4.7.0-30c04c59e98d75fc2789d517f4b0591876c2983e.a(#5:FFI.o): Not a x86_64 PE+ file.
# ghc-9.6.6.exe: Unknown COFF 4 type in getHeaderInfo.
#
# <no location info>: error:
# loadArchive "C:\\sr\\ghc-9.6.6\\hashable-1.4.7.0-30c04c59e98d75fc2789d517f4b0591876c2983e\\lib\\libHShashable-1.4.7.0-30c04c59e98d75fc2789d517f4b0591876c2983e.a": failed
- os: windows-latest
ghc: 9.4.8
- os: windows-latest
ghc: 9.6.6

steps:
- uses: actions/checkout@v4
@@ -96,28 +103,28 @@ jobs:
run: |
cabal test all

- if: matrix.ghc == '9.6.6'
- if: matrix.ghc == '9.8.2'
name: Build 'cabal-minimal'
run: |
cd "summoner-cli/examples/cabal-minimal/"
echo "packages: ." > cabal.project
cabal build all

- if: matrix.ghc == '9.6.6'
- if: matrix.ghc == '9.8.2'
name: Build 'cabal-full'
run: |
cd "summoner-cli/examples/cabal-full/"
echo "packages: ." > cabal.project
cabal build all

- if: matrix.ghc == '9.6.6'
- if: matrix.ghc == '9.8.2'
name: Build 'stack-full'
run: |
cd "summoner-cli/examples/stack-full/"
echo "packages: ." > cabal.project
cabal build all

- if: matrix.ghc == '9.6.6'
- if: matrix.ghc == '9.8.2'
name: Build 'full-batteries'
run: |
cd "summoner-cli/examples/full-batteries/"
Loading