Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
parsec
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
Glasgow Haskell Compiler
Packages
parsec
Commits
9c071b05
Unverified
Commit
9c071b05
authored
1 year ago
by
Oleg Grenrus
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #187 from haskell/ghc-9.10
Allow base-4.20
parents
647c5704
00db918c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/haskell-ci.yml
+23
-18
23 additions, 18 deletions
.github/workflows/haskell-ci.yml
parsec.cabal
+3
-2
3 additions, 2 deletions
parsec.cabal
with
26 additions
and
20 deletions
.github/workflows/haskell-ci.yml
+
23
−
18
View file @
9c071b05
...
...
@@ -8,9 +8,9 @@
#
# For more information, see https://github.com/haskell-CI/haskell-ci
#
# version: 0.1
7
.202
30826
# version: 0.1
9
.202
40402
#
# REGENDATA ("0.1
7
.202
30826
",["github","cabal.project"])
# REGENDATA ("0.1
9
.202
40402
",["github","cabal.project"])
#
name
:
Haskell-CI
on
:
...
...
@@ -32,19 +32,24 @@ jobs:
strategy
:
matrix
:
include
:
-
compiler
:
ghc-9.
8
.0.202
30822
-
compiler
:
ghc-9.
10
.0.202
40328
compilerKind
:
ghc
compilerVersion
:
9.
8
.0.202
30822
compilerVersion
:
9.
10
.0.202
40328
setup-method
:
ghcup
allow-failure
:
true
-
compiler
:
ghc-9.6.2
allow-failure
:
false
-
compiler
:
ghc-9.8.2
compilerKind
:
ghc
compilerVersion
:
9.8.2
setup-method
:
ghcup
allow-failure
:
false
-
compiler
:
ghc-9.6.4
compilerKind
:
ghc
compilerVersion
:
9.6.
2
compilerVersion
:
9.6.
4
setup-method
:
ghcup
allow-failure
:
false
-
compiler
:
ghc-9.4.
7
-
compiler
:
ghc-9.4.
8
compilerKind
:
ghc
compilerVersion
:
9.4.
7
compilerVersion
:
9.4.
8
setup-method
:
ghcup
allow-failure
:
false
-
compiler
:
ghc-9.2.8
...
...
@@ -115,20 +120,20 @@ jobs:
apt-get install -y --no-install-recommends gnupg ca-certificates dirmngr curl git software-properties-common libtinfo5
if [ "${{ matrix.setup-method }}" = ghcup ]; then
mkdir -p "$HOME/.ghcup/bin"
curl -sL https://downloads.haskell.org/ghcup/0.1.
19.5
/x86_64-linux-ghcup-0.1.
19.5
> "$HOME/.ghcup/bin/ghcup"
curl -sL https://downloads.haskell.org/ghcup/0.1.
20.0
/x86_64-linux-ghcup-0.1.
20.0
> "$HOME/.ghcup/bin/ghcup"
chmod a+x "$HOME/.ghcup/bin/ghcup"
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.
7
.yaml;
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.
8
.yaml;
"$HOME/.ghcup/bin/ghcup" install ghc "$HCVER" || (cat "$HOME"/.ghcup/logs/*.* && false)
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.
1
.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.
2
.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
else
apt-add-repository -y 'ppa:hvr/ghc'
apt-get update
apt-get install -y "$HCNAME"
mkdir -p "$HOME/.ghcup/bin"
curl -sL https://downloads.haskell.org/ghcup/0.1.
19.5
/x86_64-linux-ghcup-0.1.
19.5
> "$HOME/.ghcup/bin/ghcup"
curl -sL https://downloads.haskell.org/ghcup/0.1.
20.0
/x86_64-linux-ghcup-0.1.
20.0
> "$HOME/.ghcup/bin/ghcup"
chmod a+x "$HOME/.ghcup/bin/ghcup"
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.
7
.yaml;
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.
1
.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
"$HOME/.ghcup/bin/ghcup" config add-release-channel https://raw.githubusercontent.com/haskell/ghcup-metadata/master/ghcup-prereleases-0.0.
8
.yaml;
"$HOME/.ghcup/bin/ghcup" install cabal 3.10.
2
.0 || (cat "$HOME"/.ghcup/logs/*.* && false)
fi
env
:
HCKIND
:
${{ matrix.compilerKind }}
...
...
@@ -148,20 +153,20 @@ jobs:
echo "HC=$HC" >> "$GITHUB_ENV"
echo "HCPKG=$HCPKG" >> "$GITHUB_ENV"
echo "HADDOCK=$HADDOCK" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.
1
.0 -vnormal+nowrap" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.
2
.0 -vnormal+nowrap" >> "$GITHUB_ENV"
else
HC=$HCDIR/bin/$HCKIND
echo "HC=$HC" >> "$GITHUB_ENV"
echo "HCPKG=$HCDIR/bin/$HCKIND-pkg" >> "$GITHUB_ENV"
echo "HADDOCK=$HCDIR/bin/haddock" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.
1
.0 -vnormal+nowrap" >> "$GITHUB_ENV"
echo "CABAL=$HOME/.ghcup/bin/cabal-3.10.
2
.0 -vnormal+nowrap" >> "$GITHUB_ENV"
fi
HCNUMVER=$(${HC} --numeric-version|perl -ne '/^(\d+)\.(\d+)\.(\d+)(\.(\d+))?$/; print(10000 * $1 + 100 * $2 + ($3 == 0 ? $5 != 1 : $3))')
echo "HCNUMVER=$HCNUMVER" >> "$GITHUB_ENV"
echo "ARG_TESTS=--enable-tests" >> "$GITHUB_ENV"
echo "ARG_BENCH=--enable-benchmarks" >> "$GITHUB_ENV"
if [ $((HCNUMVER >= 90
8
00)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE=false" >> "$GITHUB_ENV" ; fi
if [ $((HCNUMVER >= 9
1
000)) -ne 0 ] ; then echo "HEADHACKAGE=true" >> "$GITHUB_ENV" ; else echo "HEADHACKAGE=false" >> "$GITHUB_ENV" ; fi
echo "ARG_COMPILER=--$HCKIND --with-compiler=$HC" >> "$GITHUB_ENV"
echo "GHCJSARITH=0" >> "$GITHUB_ENV"
env
:
...
...
This diff is collapsed.
Click to expand it.
parsec.cabal
+
3
−
2
View file @
9c071b05
cabal-version: 1.12
name: parsec
version: 3.1.17.0
x-revision: 1
synopsis: Monadic parser combinators
description: Parsec is designed from scratch as an industrial-strength parser
...
...
@@ -26,7 +27,7 @@ bug-reports: https://github.com/haskell/parsec/issues
category: Parsing
build-type: Simple
tested-with: GHC ==9.
8
.1 || ==9.
6
.2 || ==9.
4.7
|| ==9.2.8 || ==9.0.2 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2
tested-with: GHC ==9.
10
.1 || ==9.
8
.2 || ==9.
6.4 || ==9.4.8
|| ==9.2.8 || ==9.0.2 || ==8.10.7 || ==8.8.4 || ==8.6.5 || ==8.4.4 || ==8.2.2 || ==8.0.2 || ==7.10.3 || ==7.8.4 || ==7.6.3 || ==7.4.2
extra-source-files: ChangeLog.md, README.md
...
...
@@ -64,7 +65,7 @@ library
Text.ParserCombinators.Parsec.Token
build-depends:
base >= 4.5.1.0 && < 4.2
0
,
base >= 4.5.1.0 && < 4.2
1
,
mtl >= 2.1.3.1 && < 2.4,
bytestring >= 0.9.2.1 && < 0.13,
text (>= 1.2.3.0 && < 1.3)
...
...
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