2017-11-08 23:05:28 +03:00
|
|
|
sudo: false
|
2020-05-20 02:20:42 +03:00
|
|
|
|
|
|
|
language: haskell
|
|
|
|
cabal: 2.4
|
|
|
|
ghc:
|
|
|
|
- 8.4.4
|
|
|
|
- 8.6.5
|
|
|
|
|
2019-02-21 03:16:34 +03:00
|
|
|
git:
|
|
|
|
submodules: false # whether to recursively clone submodules
|
2017-11-08 23:05:28 +03:00
|
|
|
|
|
|
|
cache:
|
|
|
|
directories:
|
2020-05-20 02:20:42 +03:00
|
|
|
- $HOME/.ghc
|
|
|
|
- $HOME/.cabal
|
2017-11-08 23:05:28 +03:00
|
|
|
|
2020-05-20 02:20:42 +03:00
|
|
|
install:
|
2019-03-23 08:34:22 +03:00
|
|
|
# Changes ssh paths into http path, so that we can do a read-only clone of
|
|
|
|
# our submodules without worrying about ssh keys.
|
|
|
|
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
|
|
|
|
- git submodule update --init
|
2020-05-21 16:10:54 +03:00
|
|
|
- cabal v2-update --project-file=cabal.project.dist
|
2019-02-21 03:16:34 +03:00
|
|
|
|
2020-05-20 02:20:42 +03:00
|
|
|
script:
|
2017-11-08 23:05:28 +03:00
|
|
|
# Here starts the actual work to be performed for the package under test;
|
|
|
|
# any command which exits with a non-zero exit code causes the build to fail.
|
2019-03-26 05:49:49 +03:00
|
|
|
# Build packages
|
2020-05-22 00:48:53 +03:00
|
|
|
- cabal v2-test --project-file=cabal.project.dist x86 x86_symbolic
|