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
f3bb6d66
Commit
f3bb6d66
authored
4 years ago
by
Eduardo Trujillo
Browse files
Options
Downloads
Patches
Plain Diff
chore(ci): Remove unused Haskell CI configuration
parent
b84ee8a4
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.appveyor.yml
+0
-28
0 additions, 28 deletions
.appveyor.yml
.gitignore
+0
-1
0 additions, 1 deletion
.gitignore
.haskell-ci
+0
-30
0 additions, 30 deletions
.haskell-ci
.travis.yml
+0
-75
0 additions, 75 deletions
.travis.yml
with
0 additions
and
134 deletions
.appveyor.yml
deleted
100644 → 0
+
0
−
28
View file @
b84ee8a4
# ~*~ auto-generated by haskell-ci with config : 0a4c6a0fd68c5b852764201c037cae7f29b1cb3f3856f78d1a20fe2e44845097 ~*~
version
:
"
{build}"
clone_folder
:
C:\project
build
:
off
cache
:
-
"
C:
\\
SR
->
.appveyor.yml"
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
install
:
-
set PATH=C:\Program Files\Git\mingw64\bin;%PATH%
-
curl -ostack.zip -L %STACKURL%
-
7z x stack.zip stack.exe
-
refreshenv
test_script
:
-
echo %STACKCFG% > stack.yaml
-
stack setup > nul
-
echo "" | %STACKCMD%
This diff is collapsed.
Click to expand it.
.gitignore
+
0
−
1
View file @
f3bb6d66
dist
*.o
*.hi
Hit
.stack-work
.cabal-sandbox
cabal.sandbox.config
This diff is collapsed.
Click to expand it.
.haskell-ci
deleted
100644 → 0
+
0
−
30
View file @
b84ee8a4
# 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.26
compiler: ghc-8.6 lts-13.5
# gitdep: name location commit
# options
# option: alias x=y z=v
# builds
# recognized simple options: nohaddock allow-newer allowed-failure
# kvs options: flag=pkg:flagname extradep=package-version gitdep=name
build: ghc-8.0
build: ghc-8.2
build: ghc-8.4
build: ghc-8.6 os=osx,linux,windows
# packages
package: '.'
# extra builds
hlint: false
weeder: false
coverall: false
# travis extra
# travis-apt-addon: packagename
# travis-tests: post-script
This diff is collapsed.
Click to expand it.
.travis.yml
deleted
100644 → 0
+
0
−
75
View file @
b84ee8a4
# ~*~ auto-generated by haskell-ci with config : 4f10ebe6d264e64568e369d32a9b5a82649d7c2eed45f7722f41ec22c42fd0a7 ~*~
# Use new container infrastructure to enable caching
sudo
:
false
# Caching so the next build will be fast too.
cache
:
directories
:
-
$HOME/.ghc
-
$HOME/.stack
-
$HOME/.local
matrix
:
include
:
-
{
env
:
BUILD=stack RESOLVER=ghc-8.0
,
compiler
:
ghc-8.0
,
language
:
generic
,
addons
:
{
apt
:
{
packages
:
[
libgmp-dev
]
}
}
}
-
{
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=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
:
install
:
-
export PATH=$HOME/.local/bin::$HOME/.cabal/bin:$PATH
-
mkdir -p ~/.local/bin
-
|
case "$BUILD" in
stack|weeder)
if [ `uname` = "Darwin" ]
then
travis_retry curl --insecure -L https://www.stackage.org/stack/osx-x86_64 | tar xz --strip-components=1 --include '*/stack' -C ~/.local/bin
else
travis_retry curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack'
fi
;;
cabal)
;;
esac
script
:
-
|
set -ex
if [ "x${RUNTEST}" = "xfalse" ]; then exit 0; fi
case "$BUILD" in
stack)
# create the build stack.yaml
case "$RESOLVER" in
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.2)
echo "{ resolver: lts-11.22, 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.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
;;
hlint)
curl -sL https://raw.github.com/ndmitchell/hlint/master/misc/travis.sh | sh -s . --cpp-define=__GLASGOW_HASKELL__=800 --cpp-define=x86_64_HOST_ARCH=1 --cpp-define=mingw32_HOST_OS=1
;;
weeder)
stack --no-terminal build --install-ghc
curl -sL https://raw.github.com/ndmitchell/weeder/master/misc/travis.sh | sh -s .
;;
esac
set +ex
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