Simon Michael
b03bbc9184
ci: push, pull: debug logging
2022-04-20 23:04:30 -10:00
Simon Michael
0023982560
ci: push, pull: debug logging
2022-04-20 23:00:57 -10:00
Simon Michael
64ae4c25fa
ci: push, pull: debug logging
2022-04-20 22:58:18 -10:00
Simon Michael
5e46044eb6
ci: push, pull: debug logging
2022-04-20 22:51:32 -10:00
Simon Michael
ef5aafd11c
ci: push, pull: debug logging
2022-04-20 22:37:45 -10:00
Simon Michael
54c758bbdb
ci: push, pull: debug logging
2022-04-20 22:33:43 -10:00
Simon Michael
aafb6d21cf
ci: push, pull: debug logging
2022-04-20 22:25:23 -10:00
Simon Michael
5261ecabe0
ci: push, pull: debug logging for commit range
2022-04-20 22:21:11 -10:00
Simon Michael
ae6295da17
;ci: pull: cleanup
2022-04-17 07:45:25 -10:00
Simon Michael
078988a4b0
;ci: mac: ghc 9.0 -> 9.2
2022-04-17 07:40:03 -10:00
Simon Michael
d84f2b4eb8
ci: push: edit
2022-04-05 09:38:49 -10:00
Simon Michael
f42998bab7
ci: push: really run for all file changes
...
so that they get the success status and can then be pushed to master.
2022-04-05 09:24:03 -10:00
Simon Michael
c69f319b3f
ci: push: run for all file changes, including small doc fixups
...
so that they get the success status and can then be pushed to master.
2022-04-04 14:31:44 -10:00
Simon Michael
1c3dd50e5b
ci: sync push/pull, check both with GHC 8.6 to satisfy master
2022-03-26 09:26:53 -10:00
Simon Michael
8ad7dc41b0
ci: push: cleanup, don't run a second time in master
2022-03-26 09:02:46 -10:00
Simon Michael
59c70d9369
ci: push: cleanup
2022-03-26 08:51:23 -10:00
Simon Michael
e61216ac24
ci: push: also run on pushes to "simon" branch
2022-03-26 08:37:31 -10:00
Simon Michael
7a781b04e5
fix: ci: restore stack.yaml as a regular file to fix CI
...
Github actions `hashFiles()` may not like symlinks, see comment in
push.yml.
2022-03-25 20:59:28 -10:00
Simon Michael
1faef08c30
;ci: linux: drop unused release steps
2022-01-06 08:23:59 -10:00
Simon Michael
ab098fae99
ci: win: fix shell mismatch
2022-01-06 08:23:57 -10:00
Simon Michael
c0ac770bd7
ci: win: fix skipping of all steps, part 2
2022-01-06 08:23:57 -10:00
Simon Michael
29fb63384e
ci: win, mac: fix skipping of all steps
2022-01-06 08:23:57 -10:00
Simon Michael
56e015c409
ci: push, pull: clarify, robustify? commitlint step
2022-01-06 06:33:29 -10:00
Simon Michael
0a8835ada2
ci: win, mac: don't commitlint, let push/pull cover that
2022-01-06 06:33:25 -10:00
Simon Michael
07e84fde42
ci: doc improvements
2022-01-05 09:11:01 -10:00
Simon Michael
9888bf043c
ci: mac, windows: don't short circuit, update docs
2022-01-05 08:56:17 -10:00
Simon Michael
16124eba14
dev: move commitlint to tools, keeping bin/ for user tools
2021-12-10 16:52:19 -10:00
Simon Michael
0c6575ee8a
ci: more consistent workflow names
2021-12-10 10:40:40 -10:00
Simon Michael
e9594a93d4
ci: linux-x64: drop "static" from artifact/binary names
2021-12-09 16:00:59 -10:00
Simon Michael
91780ceb9a
ci: linux-x64: try ghc 8.10.4 -> 9.0.1
2021-12-09 15:58:47 -10:00
Simon Michael
9e24cca793
ci: rename linux workflows, branches
...
workflow linux-static-x64.yml is now linux-x64.yml
and its branch ci-linux-static is now ci-linux-x64
workflow linux-static-arm32v7.yml is now linux-arm32v7.yml
and its branch ci-linux-static-arm32 is now ci-linux-arm32v7
2021-12-09 15:38:26 -10:00
Simon Michael
6c852a8252
;ci: linux-static-x64: do a full clone to fix --version output
2021-12-02 00:39:11 -10:00
Simon Michael
8c25581dd5
ci: linux: rename to pull, don't run on push
2021-12-01 21:47:14 -10:00
Simon Michael
f0f830e06c
ci: linux: move docs to readme
2021-12-01 21:17:35 -10:00
Simon Michael
a3c71d2fad
ci: mac, windows: build on any push to these branches
2021-12-01 21:10:44 -10:00
Simon Michael
65ca30ef58
ci: dummy changes to force building
2021-12-01 18:48:53 -10:00
Simon Michael
5f55758ca4
fix: ci: when we can't figure out recent commits, don't check
2021-11-22 16:37:32 -10:00
Simon Michael
ee276afc56
ci: fall back on checking last 5 commit messages, instead of 20
...
This will allow CI status to recover faster when a bad commit message
is accidentally merged. In some cases (eg force pushes of PRs with
more than 5 commits) not all commit messages will be checked at all
times.
2021-11-14 15:49:04 -10:00
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
40c1f09b80
;ci: push: notes
2021-07-27 23:07:30 -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
4641db4604
;ci: push: tweak output
2021-07-20 22:57:55 -10:00
Simon Michael
2c7e3136e0
;ci: push: skip most steps if commit message begins with ;
2021-07-20 22:51:51 -10:00
Simon Michael
41d432c30a
ci: mac: use ghc 9.0
2021-07-20 20:38:39 -10:00
Simon Michael
14e1efc843
stack: 9.0: rename yaml file, making 9.0 the default
2021-07-20 20:38:39 -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
8b1650c6af
;ci: rename the static linux things
2021-07-05 13:24:55 -10:00
Simon Michael
8d237869db
;ci: release: fix action-gh-release not running ?
2021-07-03 14:59:18 -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
bd4dcc2a0a
;ci: release: fix tag patterns
2021-07-03 14:41:34 -10:00
Simon Michael
741662ac97
;ci: release: try out the softprops release action
2021-07-03 14:12:33 -10:00
Simon Michael
9ffed51f54
;ci: tweak new workflow names slightly
2021-06-30 18:15:01 -10:00
Garret McGraw
3d0afd5444
Static builds for Linux on x64 (amd64) and arm32v7 architectures ( #1571 )
...
Adding new CI workflows building static executables for linux, both intel 64-bit and ARM32v7.
These will be useful for providing hledger on Nextcloud, and also as general linux executables, more robust than the ubuntu executable we have been providing.
2021-06-30 18:05:27 -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
d089f1b0d1
tools: ghc 8.6 is now the oldest, drop older stack configs
2021-06-03 14:05:02 -10:00
Simon Michael
31868a6892
;stack: build with lts-17/ghc-8.10.3 by default
2021-01-29 15:13:06 -08:00
Simon Michael
93bf6cf299
;ci: give up on bin/ compilation tests for now ( #1453 )
...
They need more work to become CI-ready.
Contributors can run them locally with "make functest".
2021-01-12 15:00:13 -08:00
Simon Michael
22ce25227b
;ci: really run bin/ compilation tests with GHC 8.2 CI ( #1453 )
2021-01-12 13:50:40 -08:00
Simon Michael
84bf42a9fc
;bin: linux/pr CI uses ghc 8.2, make functest uses default ghc ( #1453 )
2021-01-12 12:11:56 -08:00
Simon Michael
1023a3cc1a
;ci: run bin/ compilation tests only with GHC 8.2 CI for now ( #1453 )
2021-01-12 11:47:57 -08:00
Simon Michael
10bf0e5cf3
;ci: also run when bin/*.hs are changed ( #1453 )
2021-01-12 11:01:41 -08:00
Simon Michael
3ae6cf3200
ci: really add addon-building tests to CI ( #1453 )
2021-01-11 09:03:09 -08:00
Simon Michael
55e8ecf9e3
;ci: mac: cache bump to fix the usual failure
2021-01-10 07:01:42 -08:00
Simon Michael
06b466d847
ci: also test compilation of bin/ add-on scripts
2020-12-30 08:59:03 -08:00
Simon Michael
21ba9cc21e
;ci: linux: notes
...
(cherry picked from commit 23a7b1a71d
)
2020-12-29 09:40:31 -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
9428df4526
;ci: push: fix func tests
2020-11-16 14:02:16 -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
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