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
Glasgow Haskell Compiler
Packages
Cabal
Commits
9560b691
Commit
9560b691
authored
4 years ago
by
Oleg Grenrus
Browse files
Options
Downloads
Patches
Plain Diff
Add GHC-8.10.2 windows job
parent
e55dde56
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/windows.yml
+50
-0
50 additions, 0 deletions
.github/workflows/windows.yml
cabal-dev-scripts/src/GenValidate.hs
+1
-0
1 addition, 0 deletions
cabal-dev-scripts/src/GenValidate.hs
with
51 additions
and
0 deletions
.github/workflows/windows.yml
+
50
−
0
View file @
9560b691
...
...
@@ -118,3 +118,53 @@ jobs:
-
name
:
cabal-tests
# Using only one job, -j1, to fail less.
run
:
cabal v2-run cabal-testsuite:cabal-tests -- -j1 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.8.4\cabal-install-3.5.0.0\x\cabal\build\cabal\cabal.exe
test-windows-8_10_2
:
name
:
test ghc-8.10.2
runs-on
:
windows-latest
steps
:
-
uses
:
actions/setup-haskell@v1.1.4
with
:
ghc-version
:
'
8.10.2'
cabal-version
:
'
3.2.0.0'
-
name
:
Print versions
run
:
|
[Environment]::GetEnvironmentVariable("Path")
cabal --version
ghc --version
cabal user-config init -a "http-transport: plain-http" -a "store-dir: C:\SR" -f -v3
-
uses
:
actions/cache@v1
with
:
path
:
C:\SR
key
:
windows-store-meta
-
name
:
Update Hackage index
run
:
cabal v2-update
-
uses
:
actions/checkout@v2
-
name
:
make cabal-install-dev
run
:
cp cabal-install/cabal-install.cabal.dev cabal-install/cabal-install.cabal
# We cannot ask for all dependencies, but we can for Cabal.
-
name
:
cabal v2-build Cabal --only-dependencies
run
:
cabal v2-build Cabal --only-dependencies
-
name
:
cabal v2-build
run
:
cabal v2-build all
-
name
:
Cabal unit-tests
run
:
|
cabal v2-test Cabal-tests
-
name
:
cabal-install memory-usage-tests
run
:
|
cd cabal-install
cabal v2-run cabal-install:memory-usage-tests
-
name
:
cabal-install solver-quickcheck
run
:
|
cd cabal-install
cabal v2-run cabal-install:solver-quickcheck
-
name
:
cabal-install integration-tests2
run
:
|
cd cabal-install
cabal v2-run cabal-install:integration-tests2
-
name
:
cabal-install unit-tests
run
:
|
cd cabal-install
cabal v2-run cabal-install:unit-tests -- --pattern "! (/FileMonitor/ || /VCS/ || /Get/)"
-
name
:
cabal-tests
# Using only one job, -j1, to fail less.
run
:
cabal v2-run cabal-testsuite:cabal-tests -- -j1 --with-cabal=dist-newstyle\build\x86_64-windows\ghc-8.10.2\cabal-install-3.5.0.0\x\cabal\build\cabal\cabal.exe
This diff is collapsed.
Click to expand it.
cabal-dev-scripts/src/GenValidate.hs
+
1
−
0
View file @
9560b691
...
...
@@ -49,6 +49,7 @@ main = do
-- [ WinGhcJob "8.8.1" ["8.6.5"]
[
WinGhcJob
"8.6.5"
[]
,
WinGhcJob
"8.8.4"
[]
,
WinGhcJob
"8.10.2"
[]
]
,
zMangleVersion
=
map
mangleChar
,
zOr
=
(
||
)
...
...
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