Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eduardo Trujillo
hgit
Commits
284c27e7
Commit
284c27e7
authored
6 years ago
by
Vincent Hanquez
Browse files
Options
Downloads
Patches
Plain Diff
update CIs
parent
82398611
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.appveyor.yml
+3
-1
3 additions, 1 deletion
.appveyor.yml
.haskell-ci
+7
-6
7 additions, 6 deletions
.haskell-ci
.travis.yml
+11
-14
11 additions, 14 deletions
.travis.yml
stack.yaml
+3
-4
3 additions, 4 deletions
stack.yaml
with
24 additions
and
25 deletions
.appveyor.yml
+
3
−
1
View file @
284c27e7
# ~*~ auto-generated by haskell-ci with config :
38018d70f0eae470b08e5cbec7eca488e57e227627db463c3999acfaa8b2fb30
~*~
# ~*~ auto-generated by haskell-ci with config :
0a4c6a0fd68c5b852764201c037cae7f29b1cb3f3856f78d1a20fe2e44845097
~*~
version
:
"
{build}"
clone_folder
:
C:\project
...
...
@@ -9,6 +9,8 @@ cache:
environment
:
global
:
STACK_ROOT
:
"
C:
\\
SR"
matrix
:
-
{
BUILD
:
"
ghc-8.6"
,
STACKCMD
:
"
stack
--no-terminal
build
--install-ghc
--coverage
--test
--bench
--no-run-benchmarks
--haddock
--no-haddock-deps"
,
STACKCFG
:
"
{
resolver:
lts-13.5,
packages:
[
'.'
],
extra-deps:
[],
flags:
{}
}"
,
STACKURL
:
"
https://www.stackage.org/stack/windows-x86_64"
}
matrix
:
fast_finish
:
true
...
...
This diff is collapsed.
Click to expand it.
.haskell-ci
+
7
−
6
View file @
284c27e7
# compiler supported and their equivalent LTS
compiler: ghc-8.0 lts-9.21
compiler: ghc-8.2 lts-11.22
compiler: ghc-8.4 lts-12.7
compiler: ghc-8.4 lts-12.26
compiler: ghc-8.6 lts-13.5
# gitdep: name location commit
...
...
@@ -11,17 +12,17 @@ compiler: ghc-8.4 lts-12.7
# builds
# recognized simple options: nohaddock allow-newer allowed-failure
# kvs options: flag=pkg:flagname extradep=package-version gitdep=name
build: ghc-8.2
build: ghc-8.0
build: ghc-8.0 os=osx
build: ghc-8.4 extradep=patience-0.1.1
build: ghc-8.2
build: ghc-8.4
build: ghc-8.6 os=osx,linux,windows
# packages
package: '.'
# extra builds
hlint:
allowed-failur
e
weeder:
allowed-failur
e
hlint:
fals
e
weeder:
fals
e
coverall: false
# travis extra
...
...
This diff is collapsed.
Click to expand it.
.travis.yml
+
11
−
14
View file @
284c27e7
# ~*~ auto-generated by haskell-ci with config :
38018d70f0eae470b08e5cbec7eca488e57e227627db463c3999acfaa8b2fb30
~*~
# ~*~ auto-generated by haskell-ci with config :
4f10ebe6d264e64568e369d32a9b5a82649d7c2eed45f7722f41ec22c42fd0a7
~*~
# Use new container infrastructure to enable caching
sudo
:
false
...
...
@@ -12,15 +12,12 @@ cache:
matrix
:
include
:
-
{
env
:
BUILD=stack RESOLVER=ghc-8.2
,
compiler
:
ghc-8.2
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
}
}
-
{
env
:
BUILD=stack RESOLVER=ghc-8.0
,
compiler
:
ghc-8.0
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
}
}
-
{
env
:
BUILD=stack RESOLVER=ghc-8.
0
,
compiler
:
ghc-8.
0
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
}
,
os
:
osx
}
-
{
env
:
BUILD=stack RESOLVER=ghc-8.
2
,
compiler
:
ghc-8.
2
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
}
}
-
{
env
:
BUILD=stack RESOLVER=ghc-8.4
,
compiler
:
ghc-8.4
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
}
}
-
{
env
:
BUILD=
hlint
,
compiler
:
hlint
,
language
:
generic
}
-
{
env
:
BUILD=
weeder
,
compiler
:
weeder
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
}
}
-
{
env
:
BUILD=
stack RESOLVER=ghc-8.6
,
compiler
:
ghc-8.6
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
},
os
:
osx
}
-
{
env
:
BUILD=
stack RESOLVER=ghc-8.6
,
compiler
:
ghc-8.6
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
}
}
allow_failures
:
-
{
env
:
BUILD=hlint
,
compiler
:
hlint
,
language
:
generic
}
-
{
env
:
BUILD=weeder
,
compiler
:
weeder
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
}
}
install
:
-
export PATH=$HOME/.local/bin::$HOME/.cabal/bin:$PATH
...
...
@@ -47,20 +44,20 @@ script:
stack)
# create the build stack.yaml
case "$RESOLVER" in
ghc-8.2)
echo "{ resolver: lts-10.7, packages: [ '.' ], extra-deps: [], flags: {} }" > stack.yaml
stack --no-terminal build --install-ghc --coverage --test --bench --no-run-benchmarks --haddock --no-haddock-deps
;;
ghc-8.0)
echo "{ resolver: lts-9.21, packages: [ '.' ], extra-deps: [], flags: {} }" > stack.yaml
stack --no-terminal build --install-ghc --coverage --test --bench --no-run-benchmarks --haddock --no-haddock-deps
;;
ghc-8.
0
)
echo "{ resolver: lts-
9
.2
1
, packages: [ '.' ], extra-deps: [], flags: {} }" > stack.yaml
ghc-8.
2
)
echo "{ resolver: lts-
11
.2
2
, packages: [ '.' ], extra-deps: [], flags: {} }" > stack.yaml
stack --no-terminal build --install-ghc --coverage --test --bench --no-run-benchmarks --haddock --no-haddock-deps
;;
ghc-8.4)
echo "{ resolver: lts-12.1, packages: [ '.' ], extra-deps: [ patience-0.1.1 ], flags: {} }" > stack.yaml
echo "{ resolver: lts-12.26, packages: [ '.' ], extra-deps: [], flags: {} }" > stack.yaml
stack --no-terminal build --install-ghc --coverage --test --bench --no-run-benchmarks --haddock --no-haddock-deps
;;
ghc-8.6)
echo "{ resolver: lts-13.7, packages: [ '.' ], extra-deps: [], flags: {} }" > stack.yaml
stack --no-terminal build --install-ghc --coverage --test --bench --no-run-benchmarks --haddock --no-haddock-deps
;;
esac
...
...
This diff is collapsed.
Click to expand it.
stack.yaml
+
3
−
4
View file @
284c27e7
resolver
:
lts-12.21
packages
:
-
.
extra-deps
:
[]
# ~*~ auto-generated by haskell-ci with config : 0a4c6a0fd68c5b852764201c037cae7f29b1cb3f3856f78d1a20fe2e44845097 ~*~
{
resolver
:
lts-13.5
,
packages
:
[
'
.'
],
extra-deps
:
[],
flags
:
{}
}
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