Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
Cabal
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
Cabal
Commits
6a3efb57
Commit
6a3efb57
authored
1 year ago
by
Artem Pelenitsyn
Committed by
Mikolaj
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
CI: GHC 9.8
parent
1fc30f06
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.github/workflows/validate.yml
+2
-7
2 additions, 7 deletions
.github/workflows/validate.yml
cabal.project
+2
-0
2 additions, 0 deletions
cabal.project
cabal.project.latest-ghc
+12
-0
12 additions, 0 deletions
cabal.project.latest-ghc
cabal.project.validate
+2
-0
2 additions, 0 deletions
cabal.project.validate
with
18 additions
and
7 deletions
.github/workflows/validate.yml
+
2
−
7
View file @
6a3efb57
...
...
@@ -49,7 +49,7 @@ jobs:
strategy
:
matrix
:
os
:
[
"
ubuntu-latest"
,
"
macos-latest"
,
"
windows-latest"
]
ghc
:
[
"
9.6.3"
,
"
9.4.
7
"
,
"
9.2.8"
,
"
9.0.2"
,
"
8.10.7"
,
"
8.8.4"
,
"
8.6.5"
,
"
8.4.4"
]
ghc
:
[
"
9.8.1"
,
"
9.6.3"
,
"
9.4.
8
"
,
"
9.2.8"
,
"
9.0.2"
,
"
8.10.7"
,
"
8.8.4"
,
"
8.6.5"
,
"
8.4.4"
]
exclude
:
# corrupts GHA cache or the fabric of reality itself, see https://github.com/haskell/cabal/issues/8356
-
os
:
"
windows-latest"
...
...
@@ -83,7 +83,7 @@ jobs:
id
:
setup-haskell
with
:
ghc-version
:
${{ matrix.ghc }}
cabal-version
:
'
3.10.1.0'
cabal-version
:
latest
# latest is mandatory for cabal-testsuite, see https://github.com/haskell/cabal/issues/8133
-
name
:
Work around git problem https://bugs.launchpad.net/ubuntu/+source/git/+bug/1993586 (cabal PR
#8546)
run
:
|
...
...
@@ -117,11 +117,6 @@ jobs:
fi
echo "FLAGS=$FLAGS" >> $GITHUB_ENV
-
name
:
Allow newer dependencies when built with latest GHC
if
:
${{ matrix.ghc }} == '9.6.3'
run
:
|
echo "allow-newer: rere:base, rere:transformers" >> cabal.project.validate
-
name
:
Validate print-config
run
:
sh validate.sh $FLAGS -s print-config
...
...
This diff is collapsed.
Click to expand it.
cabal.project
+
2
−
0
View file @
6a3efb57
import: cabal.project.latest-ghc
packages: Cabal/
packages: cabal-testsuite/
packages: Cabal-syntax/
...
...
This diff is collapsed.
Click to expand it.
cabal.project.latest-ghc
0 → 100644
+
12
−
0
View file @
6a3efb57
-- Usually, the latest GHC requires a few allow-newer's
-- for some time after the release. This project file is meant to host these.
-- The file is supposed to be included in the main project files used for
-- Cabal development:
-- - cabal.project (day-to-day development),
-- - cabal.project.validate (Cabal CI),
-- Commented out below are the usual suspects. Feel free to add more.
-- NOTE: don't forget to update the compiler version in the conditional
-- when upgrading to a newer GHC
if impl(ghc >= 9.8.1)
-- allow-newer: windns:*
This diff is collapsed.
Click to expand it.
cabal.project.validate
+
2
−
0
View file @
6a3efb57
import: cabal.project.latest-ghc
packages: Cabal-syntax/
packages: Cabal/
packages: cabal-testsuite/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment