Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
unix
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
Ian-Woo Kim
unix
Commits
dc91c94e
Commit
dc91c94e
authored
2 years ago
by
Julian Ospald
Browse files
Options
Downloads
Patches
Plain Diff
Ditch haskell setup action
parent
b7a5c227
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.github/workflows/ci.yml
+8
-6
8 additions, 6 deletions
.github/workflows/ci.yml
with
8 additions
and
6 deletions
.github/workflows/ci.yml
+
8
−
6
View file @
dc91c94e
...
...
@@ -16,26 +16,28 @@ jobs:
fail-fast
:
true
matrix
:
os
:
[
ubuntu-22.04
,
macOS-latest
]
ghc
:
[
'
9.4'
,
'
9.2'
,
'
9.0'
,
'
8.10'
,
'
8.8'
,
'
8.6'
,
'
8.4'
,
'
8.2'
]
ghc
:
[
'
9.6'
,
'
9.4'
,
'
9.2'
,
'
9.0'
,
'
8.10'
,
'
8.8'
,
'
8.6'
,
'
8.4'
,
'
8.2'
]
steps
:
-
uses
:
actions/checkout@v3
-
name
:
Install prerequisites for GHC 8.2 on ubuntu-22.04
if
:
runner.os == 'Linux' && matrix.ghc == '8.2'
run
:
|
sudo apt-get install libncurses5 libtinfo5
-
uses
:
haskell/actions/setup@v2
id
:
setup-haskell-cabal
with
:
ghc-version
:
${{ matrix.ghc }}
-
name
:
Setup toolchain
run
:
|
which ghcup
ghcup install cabal recommended
ghcup install ghc --set ${{ matrix.ghc }}
-
uses
:
actions/cache@v3
name
:
Cache cabal stuff
with
:
path
:
|
${{ steps.setup-haskell-cabal.outputs
.cabal
-
store
}}
~/
.cabal
/
store
dist-newstyle
key
:
${{ runner.os }}-${{ matrix.ghc }}
-
name
:
Build
run
:
|
ghc --version
cabal --version
cabal update
autoreconf --version
...
...
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