Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6f96d21a3e 
							
						 
					 
					
						
						
							
							ci: fix windows, make bash requirement explicit  
						
						
						
					 
					
						2021-08-29 08:10:09 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							07eb3a9086 
							
						 
					 
					
						
						
							
							ci: tweak  
						
						
						
					 
					
						2021-08-19 08:55:44 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							cf95fc7abf 
							
						 
					 
					
						
						
							
							ci: tweak  
						
						
						
					 
					
						2021-08-18 21:47:40 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							90612c1444 
							
						 
					 
					
						
						
							
							ci: tweak  
						
						
						
					 
					
						2021-08-18 18:05:02 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							818e098b04 
							
						 
					 
					
						
						
							
							ci: handle another PR failure case; more debug output  
						
						... 
						
						
						
						"Skip remaining CI steps" now also handles git log failure, continuing on instead of failing. Getting pretty gnarly. 
						
					 
					
						2021-08-18 17:39:46 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							df6667232f 
							
						 
					 
					
						
						
							
							ci: if git log fails, don't skip steps and succeed  
						
						... 
						
						
						
						Eg git log fails after force-push to a PR right now. 
						
					 
					
						2021-08-17 22:05:29 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a291f5d33b 
							
						 
					 
					
						
						
							
							ci: push/linux/mac/windows: fix ; conditional step execution  
						
						
						
					 
					
						2021-07-20 23:24:18 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a54716778d 
							
						 
					 
					
						
						
							
							ci: windows: fix bash-specific steps  
						
						
						
					 
					
						2021-07-20 23:06:34 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							88c6d47e32 
							
						 
					 
					
						
						
							
							ci: linux/mac/windows: skip steps if message begins with ;  
						
						
						
					 
					
						2021-07-20 23:01:57 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							82b74ec41e 
							
						 
					 
					
						
						
							
							ci: commitlint: when range is invalid (eg force push), check last 20  
						
						... 
						
						
						
						This is imperfect but better than nothing, and should avoid spurious
failures on force pushes to PRs. 
						
					 
					
						2021-07-13 12:35:48 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							01f9c70545 
							
						 
					 
					
						
						
							
							ci: run commitlint to check commits ( #1602 )  
						
						... 
						
						
						
						As first step in our main "check" workflows (push, linux, mac,
windows), check all the commit messages with commitlint.
These workflows can be triggered in various ways:
pull requests, pushes, manually, or scheduled.
For (each push to) a pull request, all commits currently in the PR
branch are checked.
For a regular push, all the pushed commits are checked, usually.
Subcases: push to master, push to other branch, force push;
I think at least the first two work, I don't care to spend more time
on it.
For a manual run, it seemed to check the same commits as a push (which
push ? Not sure how this works).
For a scheduled run - we'll see. 
						
					 
					
						2021-07-10 23:26:11 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d2fd039460 
							
						 
					 
					
						
						
							
							;ci: let all workflows be triggered manually  
						
						... 
						
						
						
						For when the intended triggers fail. 
						
					 
					
						2021-07-03 14:51:51 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a7ae5a1535 
							
						 
					 
					
						
						
							
							;ci: comment  
						
						
						
					 
					
						2021-06-29 09:53:17 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							fc7df75f43 
							
						 
					 
					
						
						
							
							;ci: no need for extra tags fetching ( #1543 )  
						
						... 
						
						
						
						fetch-depth: 0 also fetches tags. 
						
					 
					
						2021-06-03 22:53:01 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							77be26514f 
							
						 
					 
					
						
						
							
							;ci: fix syntax ( #1543 )  
						
						
						
					 
					
						2021-06-03 22:51:17 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							73de79d3d6 
							
						 
					 
					
						
						
							
							;ci: fix syntax ( #1543 )  
						
						
						
					 
					
						2021-06-03 22:49:39 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							d16cd267f9 
							
						 
					 
					
						
						
							
							;ci: get all history to fix git describe/--version ( #1543 )  
						
						
						
					 
					
						2021-06-03 22:47:56 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							10bf0e5cf3 
							
						 
					 
					
						
						
							
							;ci: also run when bin/*.hs are changed ( #1453 )  
						
						
						
					 
					
						2021-01-12 11:01:41 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							06b466d847 
							
						 
					 
					
						
						
							
							ci: also test compilation of bin/ add-on scripts  
						
						
						
					 
					
						2020-12-30 08:59:03 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							5eb69785e5 
							
						 
					 
					
						
						
							
							;ci: fix missing changes for moved tests  
						
						
						
					 
					
						2020-11-22 09:48:46 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6cc1312ca8 
							
						 
					 
					
						
						
							
							;ci: ignore example files; drop redundant hledger/tests/ entry  
						
						
						
					 
					
						2020-11-17 12:55:13 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							19eb014ced 
							
						 
					 
					
						
						
							
							;ci: also ignore *.m4 (extra doc source files)  
						
						
						
					 
					
						2020-11-17 10:57:42 -08:00 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							f316e40657 
							
						 
					 
					
						
						
							
							;ci: tweak  
						
						
						
					 
					
						2020-10-18 22:55:42 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							b0ad7c138b 
							
						 
					 
					
						
						
							
							;ci: linux: use -split-sections to shrink binaries by ~30% (slower ?)  
						
						
						
					 
					
						2020-06-21 18:18:42 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							0a16dd87bb 
							
						 
					 
					
						
						
							
							;ci: clean up artifacts, use github platform names  
						
						
						
					 
					
						2020-06-09 15:27:30 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							ae6ec9525a 
							
						 
					 
					
						
						
							
							;ci: cleanups  
						
						
						
					 
					
						2020-04-20 18:06:36 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							4529d9e804 
							
						 
					 
					
						
						
							
							;ci: windows: avoid double zipping the artifact  
						
						
						
					 
					
						2020-04-01 14:14:02 -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