Commit Graph

275 Commits

Author SHA1 Message Date
Simon Michael
ec2a774b18 cli, lib: move functional tests into hledger/test/ 2020-11-16 08:47:41 -08:00
Simon Michael
5aedfa6b23 ;ci: windows: try using ghc 8.8.4 (& default stack.yaml)
It's better to use a stack.yaml file than just a resolver, since the
former declares extra deps we may need from time to time.
Try with ghc 8.8.4, hopefully it's good enough on windows.
2020-11-15 09:38:35 -08:00
Simon Michael
5d42f1f198 ;ci: exclude underscore-disabled tests 2020-11-13 10:23:47 -08:00
Simon Michael
fe5a97be81 ;ci: mac: try 8.10 to avoid no symbol warnings 2020-10-18 23:04:03 -07:00
Simon Michael
035a590227 ;ci: mac: try ghc 8.8 to fix cannot execute binary file 2020-10-18 22:57:11 -07:00
Simon Michael
f316e40657 ;ci: tweak 2020-10-18 22:55:42 -07:00
Simon Michael
a41237e487 ;ci: push: shouldn't need to restore timestamps with new stack 2020-10-18 22:49:17 -07:00
Simon Michael
8c9ca24adf ci: tweak 2020-10-18 22:45:25 -07:00
Simon Michael
b2fcdcda16 ;ci: tweak 2020-10-18 22:35:22 -07:00
Simon Michael
0457945044 ;ci: tweak 2020-10-18 22:27:36 -07:00
Simon Michael
917cbdb2fa ;ci tweak 2020-10-18 22:23:37 -07:00
Simon Michael
655ae2a9bb ;ci: tweak 2020-10-18 22:18:48 -07:00
Simon Michael
aaaa1bd5cc ;ci: tweak 2020-10-18 22:10:57 -07:00
Simon Michael
484c69f795 ;ci: work on getting latest stack on all platforms 2020-10-18 22:04:32 -07:00
Simon Michael
65d603abd4 ;ci: release: try to fix over-active release creation 2020-09-07 16:13:21 -07:00
Simon Michael
3a130f1c19 ;ci: push: this workflow's cache seems stale, rebuild all 2020-09-07 16:13:21 -07:00
Simon Michael
3ff8a6291f ;ci: release: see if making branches explicit enables this 2020-09-02 11:41:17 -07:00
Simon Michael
bb1d8f5ed8 ;ci: linux: re-enable artifact building 2020-09-02 11:09:19 -07:00
Simon Michael
d2a1afdfc2 ;ci: mac: invalidate mac cache to work around the usual failure
(cf https://github.com/haskell/cabal/issues/1076#issuecomment-685879454)
2020-09-02 10:35:28 -07:00
Simon Michael
73332c0cbc ;ci: mac: try again to bump the cache to fix Cabal artifact
That last key still matched. I will defeat you, cache.
2020-08-23 08:40:53 -07:00
Simon Michael
c477e9c7dd ;ci: mac: try again to bump the right cache to fix Cabal artifact
CI error:
hledger-lib>
/Users/runner/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_2.4.0.1_ghc-8.6.5:
cannot execute binary file
2020-08-23 08:33:41 -07:00
Simon Michael
3c32aa2cd4 ;ci: mac: try bumping cache to fix ghc 8.6 breakage again 2020-08-23 07:53:27 -07:00
Simon Michael
3a32f28042 ;ci: mac: bust cache, trying to fix strange "cannot execute" error 2020-08-10 08:47:11 -07:00
Simon Michael
22091dfd31 Revert ";ci: bump actions/cache from 2 to 2.1"
I guess that was not necessary or advisable.

This reverts commit 703c698b16.
2020-08-01 12:59:28 -07:00
Simon Michael
703c698b16 ;ci: bump actions/cache from 2 to 2.1 2020-08-01 12:49:53 -07:00
Simon Michael
eeb178f86a stack, ci: the real fix for failing ghc 8.2 & CI 2020-07-19 06:12:43 -07:00
Simon Michael
386a967a66 ci: linux: try to avoid bad cached package db for ghc 8.2
Two versions of ansi-terminal are breaking CI somehow.
2020-07-17 15:55:19 -07:00
Simon Michael
d1a5bd7fa2 ;ci: linux: tight disk space has been resolved I think 2020-07-13 11:49:54 -07:00
Simon Michael
31038e2888 ;ci: cleanups 2020-07-13 11:49:54 -07:00
Simon Michael
a1c2c82c03 ci: spread ghc versions among workflows, clean up restore keys 2020-07-13 11:49:54 -07:00
Simon Michael
1f707ab0d8 ;ci: linux: disable unreliable artifact upload causing CI failures
Also we don't need artifacts for every GHC version and every PR.
2020-06-25 18:07:02 -07:00
Simon Michael
b804167c9f ;ci: push: build incrementally again, stale CI file seems resolved 2020-06-22 16:12:04 -07:00
Simon Michael
0284c4cc1c ;ci: push: temporarily rebuild all for strange test failures 2020-06-22 15:51:37 -07:00
Simon Michael
a0f944a0a2 ;ci: release: stop running every push, creating junk releases 2020-06-22 15:39:31 -07:00
Simon Michael
570b825aca ;ci: release: avoid creating bogus tags, hopefully 2020-06-21 18:19:09 -07:00
Simon Michael
b0ad7c138b ;ci: linux: use -split-sections to shrink binaries by ~30% (slower ?) 2020-06-21 18:18:42 -07:00
Simon Michael
41c3c6d16b ;ci: release: try to trigger on release branch push 2020-06-21 10:23:23 -07:00
Simon Michael
269b981dec ci: separate quick and full tests again, update
The linux full tests no longer test GHC 8.0,
and all full tests now always compile all modules
and generate optimised binaries.
2020-06-21 10:23:13 -07:00
Simon Michael
28f25f5b2d ;ci: push: re-enable the quick push workflow 2020-06-21 10:23:11 -07:00
Simon Michael
11f721f759 ;ci: release: also recognise release tags starting with r 2020-06-21 10:22:39 -07:00
Simon Michael
f3bcb4beb9 ;ci: linux: enable all ghc versions 2020-06-21 10:22:23 -07:00
Simon Michael
43e43af10d ;ci: release: tweak 2020-06-09 16:07:34 -07:00
Simon Michael
d349fc3ba5 ;ci: release tweaks 2020-06-09 15:28:29 -07:00
Simon Michael
0a16dd87bb ;ci: clean up artifacts, use github platform names 2020-06-09 15:27:30 -07:00
Simon Michael
6002917ee0 ;ci: linux, mac: get rid of double .zip suffix 2020-06-09 12:08:25 -07:00
Simon Michael
dd142319d7 ;ci: windows: try to get rid of double .zip suffix 2020-06-09 11:49:04 -07:00
Simon Michael
30925f4cf8 ;ci: release: not disabled.. working a bit better, try it again 2020-06-09 10:42:24 -07:00
Simon Michael
94218ddde2 ;ci: disable the release workflow, hopefully 2020-06-09 10:28:43 -07:00
Simon Michael
cdfc508e55 ;ci: release: tweak 2020-06-09 10:19:30 -07:00
Simon Michael
f6d1747ebd ;ci: linux: just test one ghc for a bit 2020-06-09 09:51:36 -07:00
Simon Michael
454ea2ff51 ;ci: a draft release-creating workflow, on push of v* tag 2020-06-09 09:49:50 -07:00
Simon Michael
3eba0fa7eb ci: linux tweak 2020-06-08 19:04:53 -07:00
Simon Michael
1ead2c2973 ci: make binaries for all three platforms 2020-06-08 15:32:37 -07:00
Simon Michael
2493edfd4c ;ci: windows: use upload-artifact v2 2020-06-08 15:24:13 -07:00
Simon Michael
b061b9ea04 ;ci: cleanups 2020-06-07 11:51:40 -07:00
Simon Michael
ab2a0e476b ;ci: fix windows 2020-06-07 11:51:40 -07:00
Simon Michael
68af99998a ;ci: fix mac 2020-06-07 11:51:40 -07:00
Simon Michael
1c4d7aa804 ;ci: name tweak 2020-06-06 15:52:25 -07:00
Simon Michael
00cd14867a ;ci: really disable quick push.yml ? 2020-06-06 15:50:13 -07:00
Simon Michael
d263d7291e ;ci: really disable quick push.yml ? 2020-06-06 15:42:03 -07:00
Simon Michael
de2f99c731 ;ci: run the heavy all-ghcs CI for all pushes, for now 2020-06-06 13:59:48 -07:00
Simon Michael
4c611f101c ;ci: add timestamp preservation to linux/mac/windows workflows too 2020-06-06 13:55:09 -07:00
Simon Michael
2029a7d07d ;ci: cleanup 2020-06-06 13:53:14 -07:00
Simon Michael
74fae2e1de ;ci: use github cache v2
This may also clear the recent CI error with hledger-web,
where we appear to be somehow restoring a non-latest version
of Query.hs.
2020-05-29 18:04:52 -07:00
Simon Michael
058807c8f0 ;ci: push: dummy change to trigger a build 2020-04-20 18:40:22 -07:00
Simon Michael
cf3229b37c ;ci: push: dummy change to trigger a build 2020-04-20 18:32:19 -07:00
Simon Michael
97d73c7073 ;ci: push: dummy change to trigger a build 2020-04-20 18:27:03 -07:00
Simon Michael
6057070cfd ;ci: push: restore timestamps to fix unnecessary recompilation
https://www.reddit.com/r/haskell/comments/g00ldn/haskell_stack_on_github_actions
2020-04-20 18:19:33 -07:00
Simon Michael
ebd420e8ab ;ci: linux: speed up disk freeing 2020-04-20 18:06:41 -07:00
Simon Michael
ae6ec9525a ;ci: cleanups 2020-04-20 18:06:36 -07:00
Simon Michael
b37e929870 ;ci: linux: free and show disk space
To help with disk space failures in the last couple of PR builds.
Seems to be https://github.com/actions/virtual-environments/issues/709.
2020-04-20 17:21:41 -07:00
Simon Michael
faa452734f ;ci: linux: disable "show stuff" 2020-04-20 17:21:41 -07:00
Simon Michael
882068a7c2 ;ci: linux: docs 2020-04-20 16:55:19 -07:00
Simon Michael
4529d9e804 ;ci: windows: avoid double zipping the artifact 2020-04-01 14:14:02 -07:00
Simon Michael
7b8f0d16fd ;simplify stack.yaml filenames 2020-03-30 15:35:53 -07:00
Simon Michael
004413cc57 ;ci: linux: fix ci-linux push trigger 2020-03-19 11:44:24 -07:00
Simon Michael
36177e48fb ;ci: linux: syntax 2020-03-17 17:52:15 -07:00
Simon Michael
b5c332dde3 ;ci: linux: don't let one failing ghc cancel the rest; doc 2020-03-17 17:45:27 -07:00
Simon Michael
748708731a ;ci: linux: fix syntax 2020-03-17 17:26:13 -07:00
Simon Michael
659531fabc ;ci: linux: dummy change to force CI 2020-03-17 17:24:33 -07:00
Simon Michael
99dc37d0ab ;ci: reduced scheduled runs to weekly; build with all ghcs on linux 2020-03-17 17:17:41 -07:00
Simon Michael
a259992f93 ;ci: note caching/scheduled issue 2020-03-17 09:55:29 -07:00
Simon Michael
1c90132870 ci: windows: avoid GHC 8.8.3, having trouble with Decimal 2020-03-16 18:47:37 -07:00
Simon Michael
0bc157caaa ci: stop running nightly CIs on each push
Pushing to master now only triggers the quick "push" workflow.
The nightlies run nightly or on push to a "ci-PLATFORM" branch.
(And the linux nightly workflow is also used for pull requests, for now.)
I might split these up a bit more, but as yet there's no way of
sharing common code between workflows.
2020-03-16 16:30:14 -07:00
Simon Michael
33df4dbccb ;ci: set PATH before running shelltest
Not sure why this is failing only now..
2020-03-16 10:34:36 -07:00
Simon Michael
dcd557d5cb
;ci: linux: try enabling scheduled nightly again 2020-03-16 09:57:36 -07:00
Simon Michael
1b93406749 ci: disable failing windows command 2020-03-16 09:03:18 -07:00
Simon Michael
5139e2a63e ;ci: github: fix trigger paths 2020-03-12 08:15:32 -07:00
Simon Michael
e0cbcd3e2e ;ci: dummy change to test times following an all green push 2020-03-07 15:15:09 -08:00
Simon Michael
be25c28822 ci: --pedantic is too much for now 2020-03-07 14:53:12 -08:00
Simon Michael
08cfcc4f2b ;ci: use --pedantic on windows too 2020-03-07 14:45:54 -08:00
Simon Michael
5639b47d85 ;ci: use --pedantic for all; fix a warning with unit test suites 2020-03-07 14:43:50 -08:00
Simon Michael
7e1bceff35 ;ci: linux: rebuild code faster for haddock (it always rebuilds) 2020-03-07 14:39:43 -08:00
Simon Michael
1f03c74b0d ;ci: files cleanup 2020-03-07 14:36:27 -08:00
Simon Michael
36bc5b899b ;ci: cleanups; update quick CI like the others 2020-03-07 14:33:05 -08:00
Simon Michael
dd7d144e82 ;ci: linux, mac: also trigger when func tests change 2020-03-07 14:02:21 -08:00
Simon Michael
e725b6bb47 ;ci: mac: smart caching like the others; add func tests 2020-03-07 13:39:53 -08:00
Simon Michael
191b9435f9 ;ci: linux: group shelltestrunner steps 2020-03-07 13:39:38 -08:00
Simon Michael
0cdbd3049b ;ci: linux: reuse old caches once more to save rebuilding 2020-03-07 13:34:23 -08:00
Simon Michael
4526938d39 ;ci: github: linux: don't break if dirs are missing 2020-03-07 13:30:56 -08:00
Simon Michael
7598173765 ;ci: github: linux: check out first, for smart caching 2020-03-07 13:28:44 -08:00
Simon Michael
b69d5b6799 ;ci: github: linux: separate haddock, make it a bit faster/quieter 2020-03-07 13:27:23 -08:00
Simon Michael
8863ac5fdf ;ci: github: linux: use smarter caching as in windows workflow 2020-03-07 13:26:48 -08:00
Simon Michael
e2402c46de ;ci: github: windows: tweak 2020-03-07 04:16:26 -08:00
Simon Michael
67d7aae7dc ;ci: github: windows: tweak caching 2020-03-07 04:00:40 -08:00
Simon Michael
bcb9c05594 ;ci: github: windows: tweak caching 2020-03-07 03:51:38 -08:00
Simon Michael
7db7e69a1e ;ci: github: windows: tweak caching 2020-03-07 03:40:48 -08:00
Simon Michael
5b2238696a ;ci: github: windows: tweak caching 2020-03-07 03:35:19 -08:00
Simon Michael
1e343a86ae ;ci: github: windows: tweak caching 2020-03-07 03:29:51 -08:00
Simon Michael
74f408b06f ;ci: github: windows: tweak caching 2020-03-07 03:24:45 -08:00
Simon Michael
45c0577397 ;ci: github: windows: tweak caching 2020-03-07 03:22:44 -08:00
Simon Michael
4abeae5eeb ;ci: github: windows: tweak caching 2020-03-07 03:14:54 -08:00
Simon Michael
5e96ae8224 ;ci: github: windows: tweak caching 2020-03-07 03:09:30 -08:00
Simon Michael
db8bd22c6f ;ci: github: windows: tweak caching 2020-03-07 02:57:59 -08:00
Simon Michael
0d4158dfe0 ;ci: github: windows: tweak caching 2020-03-07 02:50:26 -08:00
Simon Michael
d19ea62297 ;ci: github: windows: tweak caching 2020-03-07 02:42:58 -08:00
Simon Michael
051fab84a2 ;ci: github: windows: tweak caching 2020-03-07 02:23:54 -08:00
Simon Michael
7084f833e2 ;ci: github: windows: tweak caching 2020-03-07 02:05:27 -08:00
Simon Michael
9e8fdcf241 ;ci: github: windows: tweak caching 2020-03-07 01:51:53 -08:00
Simon Michael
fb6f76f12a ;ci: github: windows: tweak caching 2020-03-07 01:38:10 -08:00
Simon Michael
d1dbcbdaf0 ;ci: github: windows: tweak caching 2020-03-07 01:36:50 -08:00
Simon Michael
ed3ba55f20 ;ci: github: windows: tweak caching 2020-03-07 01:35:07 -08:00
Simon Michael
4ba119cb8f ;ci: github: windows: tweak caching 2020-03-07 01:32:47 -08:00
Simon Michael
cdc7663abf ;ci: github: windows: caching is not quite right; experiment 2020-03-07 01:14:05 -08:00
Simon Michael
dc2f60fe63 ;ci: github: windows: tweak zip file upload 2020-03-06 20:24:59 -08:00
Simon Michael
dab7c214c9 ;ci: github: windows: generate zip file 2020-03-06 20:06:20 -08:00
Simon Michael
2cfed3af24 ;ci: github: react to the specific yml file 2020-03-06 19:37:35 -08:00
Simon Michael
405ce9ea99 ;ci: github: quick: actually, keep using the same cache as linux-nightly 2020-03-06 19:34:43 -08:00
Simon Michael
0b96539051 ;ci: github: comments 2020-03-06 19:00:10 -08:00
Simon Michael
c2191c53c4 ;ci: github: tweaks 2020-03-06 18:31:18 -08:00
Simon Michael
dc9deb8931 ;ci: github: tweaks; quick tests for push, more tests for pull reqs 2020-03-06 13:54:32 -08:00
Simon Michael
9501c89711 ;ci: github: windows tweaks 2020-03-06 11:41:27 -08:00
Simon Michael
73f2b87f94 ;ci: github: windows tweaks 2020-03-06 11:34:48 -08:00
Simon Michael
5d419f8607 ;ci: github: windows tweaks 2020-03-06 11:31:43 -08:00
Simon Michael
49b9913b8c ;ci: github: windows tweaks 2020-03-06 11:24:26 -08:00
Simon Michael
5a7eeaa7b2 ;ci: github: windows tweaks 2020-03-06 11:21:52 -08:00
Simon Michael
3909b76a20 ;ci: github: windows tweaks 2020-03-06 11:16:13 -08:00
Simon Michael
1fb6fbe807 ;ci: github: tweaks 2020-03-06 11:06:15 -08:00
Simon Michael
73634d09d5 ;ci: github: rename old workflow to disable it 2020-03-06 10:59:22 -08:00
Simon Michael
05fada7833 ;ci: github: split into platform-specific workflows
Basic mac/windows ones, usually run nightly, and a more thorough linux
one, run for noteworthy push/pull requests.

And the usual round of tweaks.
2020-03-06 10:55:54 -08:00
Simon Michael
539d1f676e ;ci: github: notes 2020-03-06 10:03:46 -08:00
Simon Michael
9d4d1ab7e2 ci: github: tweaks 2020-03-06 04:19:25 -08:00
Simon Michael
d259bd5a36 ci: github: tweaks 2020-03-06 03:30:14 -08:00
Simon Michael
5acc873240 ci: github: tweaks 2020-03-06 02:50:57 -08:00
Simon Michael
c0b8672ef5 ci: github: tweaks 2020-03-06 02:48:16 -08:00
Simon Michael
dd944ccb68 ci: github: tweaks 2020-03-06 02:45:43 -08:00
Simon Michael
8cc6608319 ci: github: tweaks 2020-03-06 02:43:19 -08:00
Simon Michael
fefb8062ba ci: github: tweaks 2020-03-06 02:21:15 -08:00
Simon Michael
9b2f1d399c ci: github: tweaks 2020-03-06 01:58:18 -08:00
Simon Michael
6b217435c4 ci: github: tweaks 2020-03-06 01:54:18 -08:00