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
305033b3
Unverified
Commit
305033b3
authored
1 year ago
by
Rodrigo Mesquita
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
ci: Fix quick-jobs GHC version to 9.6 (#10026)
parent
03d98294
No related branches found
No related tags found
No related merge requests found
Pipeline
#94978
passed
1 year ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/quick-jobs.yml
+39
-8
39 additions, 8 deletions
.github/workflows/quick-jobs.yml
with
39 additions
and
8 deletions
.github/workflows/quick-jobs.yml
+
39
−
8
View file @
305033b3
...
...
@@ -14,6 +14,9 @@ on:
types
:
-
created
env
:
GHC_FOR_QUICK_JOBS
:
9.6.5
jobs
:
meta
:
name
:
Meta checks
...
...
@@ -25,15 +28,13 @@ jobs:
gen-paths-module
gen-spdx
gen-spdx-exc
# This job is not run in a container, any recent GHC should be fine
steps
:
# SKIP installation of ghc and cabal and use the preinstalled versions.
# - name: ghcup
# run: |
# ghcup --version
# ghcup config set cache true
# ghcup install ghc recommended
# ghcup set ghc recommended
-
name
:
ghcup
run
:
|
ghcup --version
ghcup config set cache true
ghcup install ghc $GHC_FOR_QUICK_JOBS
ghcup set ghc $GHC_FOR_QUICK_JOBS
-
name
:
Haskell versions
run
:
|
ghc --version
...
...
@@ -71,6 +72,16 @@ jobs:
name
:
Doctest Cabal
runs-on
:
ubuntu-latest
steps
:
-
name
:
ghcup
run
:
|
ghcup --version
ghcup config set cache true
ghcup install ghc $GHC_FOR_QUICK_JOBS
ghcup set ghc $GHC_FOR_QUICK_JOBS
-
name
:
Haskell versions
run
:
|
ghc --version
cabal --version
# It is complicated to get a proper cache key for the dependencies of a package
# (here: doctest) that we just `cabal install`.
# So, as a heuristics we update the cache once per day.
...
...
@@ -106,6 +117,16 @@ jobs:
env
:
cabal_build
:
cabal build buildinfo-reference-generator
steps
:
-
name
:
ghcup
run
:
|
ghcup --version
ghcup config set cache true
ghcup install ghc $GHC_FOR_QUICK_JOBS
ghcup set ghc $GHC_FOR_QUICK_JOBS
-
name
:
Haskell versions
run
:
|
ghc --version
cabal --version
-
name
:
Update Hackage index
run
:
cabal v2-update
-
uses
:
actions/checkout@v4
...
...
@@ -133,6 +154,16 @@ jobs:
name
:
Check Release Project
runs-on
:
ubuntu-latest
steps
:
-
name
:
ghcup
run
:
|
ghcup --version
ghcup config set cache true
ghcup install ghc $GHC_FOR_QUICK_JOBS
ghcup set ghc $GHC_FOR_QUICK_JOBS
-
name
:
Haskell versions
run
:
|
ghc --version
cabal --version
-
name
:
Update Hackage Index
run
:
cabal v2-update
-
uses
:
actions/checkout@v4
...
...
This diff is collapsed.
Click to expand it.
Rodrigo Mesquita
@alt-romes
mentioned in commit
baae0b32
·
1 year ago
mentioned in commit
baae0b32
mentioned in commit baae0b32477f6a5faa531f494fdce8218fee19e6
Toggle commit list
Rodrigo Mesquita
@alt-romes
mentioned in commit
d02e962e
·
1 year ago
mentioned in commit
d02e962e
mentioned in commit d02e962ea2bc552f25c27487b62867aca8e1b1a7
Toggle commit list
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