Commit Graph

27 Commits

Author SHA1 Message Date
Harendra Kumar
1330ea4447 Move coverage tests to github
* Use minimal PATH
2021-06-15 17:53:20 +05:30
Harendra Kumar
6194cc1c1e Update and refactor
* Use cabal build for 8.8.4 to avoid stack extra-deps
* Use latest stack nightly for 8.10.4
* Remove cabal.project/stack.yaml from the distribution
* Use cabal.project for using test+bench with sdist
* Move sdist build without cabal.project file to circle-ci
* Avoid stack.yaml relinking
2021-06-15 17:53:20 +05:30
Adithya Kumar
ca60ffaa88 Use build memory limiting flag in the CIs 2021-03-26 16:40:43 +05:30
Pranay Sashank
9ecae85115 Move stack CI to github workflows. 2021-02-23 19:09:28 +05:30
Pranay Sashank
1ea5c661fa Add fallback cache's to circle ci. 2021-01-21 17:14:20 +05:30
Pranay Sashank
58970a1685 Use git instead of circle ci's git implementation.
- Doing this sends proper branch information to coveralls.
2021-01-21 17:07:43 +05:30
Harendra Kumar
364334e6c1 Use only 2 cabal jobs at a time 2021-01-01 00:26:49 +05:30
Harendra Kumar
d6771a2807 Enable hlint for tests and benchmarks 2020-12-31 01:12:50 +05:30
Harendra Kumar
a2330bfb74 Use a separate project file for hpc-coveralls
It would be helpful to run bin/test.sh locally without having to install
dependencies of hpc-coveralls. Instead we can install hpc-coveralls
independently and use it after installing it once.
2020-12-28 23:56:18 +05:30
Harendra Kumar
f25a1dd28e Use test.sh to generate coverage info
cabal does not work with coverage when tests are in a different package.
2020-12-28 23:56:18 +05:30
Harendra Kumar
ac3af87491 Remove the opt option from streamly-benchmarks
Wherever possible, to improve build times.

We keep one CI having benchmarks and tests optimized + fusion plugin. In
all other CIs we remove optimization from benchmarks and tests.

Disable x86 build on circle-ci.
2020-12-15 17:48:34 +05:30
Harendra Kumar
b677d0ddc9 Separate streamly tests into another package
To be able to use an internal test library, we need to have it as a
separate package. See comments in streamly-benchmarks.cabal for details.

Use a test library for common test modules
Also, added "opt" flag to control optimization levels.

Add a README for tests.
Update benchmarks readme.
2020-12-15 17:48:34 +05:30
pranaysashank
f72dcaf493 Add names to jobs in Circle CI. 2020-11-18 16:34:36 +05:30
pranaysashank
906a07ea5b Move travis builds to circle ci 2020-11-17 17:51:04 +05:30
pranaysashank
4933d37ed7 Upgrade packcheck.
- Remove 32 bit builds from the matrix. See #514.
2020-07-13 17:59:44 +05:30
Pranay Sashank
c5696bd4c6 Do a normal build on 8.2.2 instead of coverage build. 2020-06-05 00:09:11 +05:30
Harendra Kumar
48b21f731b Fix exit code issue in packcheck 2020-06-03 23:30:04 +05:30
Pranay Sashank
6e96d74249 Update packcheck. 2020-02-12 11:47:03 +05:30
Pranay Sashank
3422440ba1 Re-enable coverage build on circle ci. 2020-01-07 11:18:21 +05:30
Pranay Sashank
6b6663828f Enable CI builds only for push and PRs to master. 2020-01-07 11:15:25 +05:30
Harendra Kumar
cb6e9f2f8b Add libtinfo-dev to apt install list 2019-08-14 07:20:29 +05:30
Harendra Kumar
909d218356 update cabal-install version for coveralls build 2019-06-16 20:20:52 +05:30
Harendra Kumar
cce586ad12 update CI config files with new packcheck version 2019-06-16 19:39:46 +05:30
Harendra Kumar
65a08a2795 update packcheck CI script version 2019-05-28 02:38:58 +05:30
Harendra Kumar
603211cb50 use cabal head version with --test-show-details 2019-01-14 07:07:56 +05:30
Harendra Kumar
87aa6dde23 use circleci for coverage builds 2018-08-12 18:20:03 +05:30
Harendra Kumar
16ebabe916 Add circleci for coveralls 2018-08-12 06:40:41 +05:30