Simon Michael
e1540af4b8
;ci: ci: silence vs code warnings about env.CONTINUE
2024-04-18 13:20:12 -10:00
Simon Michael
7b24c3546c
ci: binaries: drop unused early termination code
...
It is used only in ci.yml.
2024-04-18 13:20:12 -10:00
Simon Michael
3fd350861b
ci: binaries-linux-x64: cleanups
2024-04-18 13:20:12 -10:00
Simon Michael
b23b61a60f
ci: binaries-linux-x64: try other static build options
2024-04-18 13:20:12 -10:00
Simon Michael
981aee3e52
ci: binaries-linux-x64: work around unwritable $HOME issue
...
This is for https://github.com/actions/runner/issues/863 which is causing
"Preventing creation of Stack root '/github/home/.stack/'. Parent directory '/github/home/' is owned by someone else."
2024-04-18 13:20:12 -10:00
Simon Michael
06d6730a79
ci: binaries-linux-x64: also run some unit tests
2024-04-18 13:20:12 -10:00
Simon Michael
4e5a2dcc70
ci: binaries: tool setup fixes, label tool version output
2024-04-18 13:20:12 -10:00
Simon Michael
7249fa80cd
ci: binaries-linux: drop "-static" from names, assume it
2024-04-18 13:20:12 -10:00
Simon Michael
a4917f8f98
ci: binaries-linux-x64: try making the static build with stack
2024-04-18 13:20:12 -10:00
Simon Michael
7b052979b2
ci: binaries-linux-x64: try latest ghc & cabal
2024-04-18 13:20:12 -10:00
Simon Michael
82cc77f184
ci: binaries-mac: switch to ghcup for setup, like linux
2024-04-18 13:20:12 -10:00
Simon Michael
5c36a297dc
ci: binaries-mac: update x64, add arm64
...
I think macos-latest is now m1 and macos-13 is x64.
2024-04-18 13:20:12 -10:00
Simon Michael
8cc36e23a6
;ci: "Cache" -> "Uncache"
2024-04-10 08:19:35 -10:00
Simon Michael
8e0adec126
pkg:stack: bump dev build to latest/ghc 9.8.2
2024-04-07 23:47:27 -10:00
Simon Michael
3c868988a9
;ci:windows: switch to more recent ghc (9.6.3)
2024-01-05 11:25:30 -10:00
Simon Michael
4fcc09b259
fix:pkg:include hledger-ui.exe in release binaries
2024-01-05 11:17:40 -10:00
Simon Michael
6771d37f13
;github: issue templates: update
2023-12-13 11:45:37 -10:00
Simon Michael
b9826434e7
;github: new issue templates: edits
2023-12-12 23:08:02 -10:00
Simon Michael
c740891feb
;github: new issue templates: more cleanups; solicit severity and likelihood estimates
...
(for ISSUES.md > Prioritising)
2023-12-12 22:38:44 -10:00
Simon Michael
1c840e144c
;github: new issue templates: cleanups
2023-12-12 22:31:05 -10:00
Simon Michael
d2f95966ab
;github: new issue templates: cleanups
2023-12-12 22:20:07 -10:00
Simon Michael
b61e731f24
;ci: ignore the commit message check if it fails
2023-12-12 18:26:15 -10:00
Simon Michael
2cf83cd213
ci: bump shelltestrunner to 1.10
2023-12-08 06:56:48 -10:00
Simon Michael
b0c4bf6f22
ci: bump ghc version to 9.4.4, preliminary for #2129 , #2128
2023-12-08 06:34:43 -10:00
Simon Michael
38140945f7
;ci: use newer shelltestrunner with newer ghc
2023-12-02 09:03:14 -10:00
Simon Michael
96117ae514
ci: do haddock testing less often, in the mac binaries workflow
...
It costs 1m+, doesn't fail that often, and is not hard to fix even if
detected late.
2023-11-07 05:27:18 -08:00
Simon Michael
617e35ec57
ci: really fix some redundant building of hledger-lib and hledger
2023-11-07 04:59:53 -08:00
Simon Michael
1eee7f0208
ci: fix some redundant building of hledger-lib and hledger
2023-11-07 04:47:04 -08:00
Simon Michael
dae7b352dd
;ci: disable weekly scheduled builds
...
They also run in forks, which I don't want.
2023-11-06 10:13:57 -08:00
Simon Michael
66cb349998
ci: fix tests breakage
2023-11-05 01:02:13 -07:00
Simon Michael
8bfde51ae8
;dev:ci: rename usual CI branch to "ci"
2023-10-18 14:02:59 +01:00
Simon Michael
6c95f47725
;dev:ci: clean up, rename main CI workflow
...
Back to ci.yml.
2023-10-18 14:02:59 +01:00
Simon Michael
efa8f1dc84
ci:test-linux: temporary workaround for haddock failure
2023-10-09 21:58:38 +01:00
Simon Michael
17889ccb61
ci:test-linux: temporary workaround for bad commit message
2023-10-09 21:07:20 +01:00
Simon Michael
efc154a1cb
dev:ci: cleanup
2023-09-16 09:05:04 +01:00
Simon Michael
0860bff057
dev:ci: update notes
2023-09-12 08:52:17 +01:00
Simon Michael
c2c668e3a7
dev:tools:ci:master,binaries: install ripgrep for checkembeddedfiles
2023-06-02 11:17:16 -10:00
Simon Michael
a6d3424e0b
dev:tools:ci:master: check embedded files before slower operations
2023-06-02 10:51:42 -10:00
Simon Michael
c7c4c68031
dev:tools:ci: check embedded files in the binaries workflows also
2023-06-02 10:50:28 -10:00
Simon Michael
353ac8809b
dev:tools: add checkembeddedfiles to make test & master CI
2023-06-02 08:26:37 -10:00
Simon Michael
7592674416
ci: windows: try ghc 9.4.4 to work around ghc#23309
2023-05-10 10:03:51 -10:00
Simon Michael
3206b0e278
ci: minor updates
2023-03-10 19:02:34 -10:00
Simon Michael
679f62cc60
;dev: pr template: mention COMMITS page and prefix convention ( #1997 )
2023-02-01 13:30:21 -10:00
Simon Michael
9ab8818368
dev: ci: actions/checkout: v2 -> v3
2023-01-26 22:04:04 -10:00
Simon Michael
6ebf811095
dev: ci: actions/cache: v2 -> v3
2023-01-26 22:04:04 -10:00
Simon Michael
04d5813a41
dev: ci: exclude the excluded func tests in CI too
2022-12-22 09:15:43 -10:00
Simon Michael
3557238b78
ci: binaries-linux-x64-static: fix gather binaries step
2022-08-29 13:35:46 +01:00
Simon Michael
28dd669058
ci: binaries-linux-x64-static: cache ghcup/cabal/ghc; use cabal 3.8
2022-08-29 13:03:04 +01:00
Simon Michael
5c9564acb9
ci: binaries-linux-x64-static: avoid ghcup warning
2022-08-29 12:19:44 +01:00
Simon Michael
6fb3797e4c
ci: test-linux-x64: build packages separately to fail faster
2022-08-29 11:15:35 +01:00
Simon Michael
ab01c7c2a2
lib: re-enable doctests with ghc 8.10, to improve CI test
2022-08-29 11:09:16 +01:00
Simon Michael
6a4680d561
imp: pkg: drop support for GHC 8.6 and 8.8
...
Slightly motivated by a desire to depend on the new breakpoint
library, which requires GHC 8.10+. With GHC 9.0 in Debian,
it seems time to drop these.
2022-08-23 02:02:19 +01:00
Simon Michael
d4f7137c4a
dev: ci: binaries-mac-x64: bust stack-work caches
2022-08-18 05:08:10 +01:00
Simon Michael
b76de76343
dev: ci: binaries-mac-x64: bust stack-programs cache
2022-08-18 05:08:10 +01:00
Simon Michael
83ff8e3ab3
dev: ci: binaries-mac-x64: revert to stack's ghc
2022-08-18 05:08:10 +01:00
Simon Michael
81ef3b38b4
dev: ci: binaries-mac-x64: try ghc from haskell.org
2022-08-18 05:08:10 +01:00
Simon Michael
4c041b73b7
dev: ci: binaries-mac-x64: bust stack-global cache, try to fix error
2022-08-18 05:07:46 +01:00
Simon Michael
99f3a6852d
dev: ci: binaries-linux-x64-static: simplify ghcup command
2022-08-18 05:05:51 +01:00
Simon Michael
b917b8a310
dev: ci: binaries-*: name branches like workflows
2022-08-18 05:05:41 +01:00
Simon Michael
07cb4ca58c
dev: ci: show stack build plans for deps
2022-08-17 11:50:10 +01:00
Simon Michael
0e63bd1d6f
ci: binaries-linux-x64-static: roll back to ghc 9.0 to avoid segfault
...
Probably https://gitlab.haskell.org/ghc/ghc/-/issues/20266
2022-07-31 23:03:25 +01:00
Simon Michael
a00c93fd07
ci: binaries-linux-x64-static: abort the job when a build fails
2022-07-31 23:03:25 +01:00
Simon Michael
827d3f79f4
ci: avoid double zip; use tar instead to preserve x on linux/mac
2022-07-26 23:52:51 +01:00
Simon Michael
863983f0ff
ci: update all to preserve executable permission when zipping
2022-07-26 22:49:47 +01:00
Simon Michael
7a8f2c1c8a
ci: bump all upload-artifact users to v3
2022-07-26 22:37:44 +01:00
Simon Michael
af8e9501e9
ci: test-linux-x64, binaries-mac-x64: fix binaries upload
2022-07-26 22:24:49 +01:00
Simon Michael
c0e7cf86fc
ci: binaries-mac-x64: preserve executable perms on zipped binaries
2022-07-26 11:02:01 +01:00
Simon Michael
b5eb3f494b
ci: test-linux-x64: preserve executable perms on zipped binaries
2022-07-26 11:00:02 +01:00
Simon Michael
0e728a7466
;doc: github issue templates: fix support link ( #1895 )
2022-07-25 23:13:04 +01:00
Simon Michael
fb56d62011
ci: linux-x64-static: note issue
2022-07-11 10:56:35 +01:00
Simon Michael
178ff7ace4
ci: linux-x64-static: ghc 9.2.2 -> 9.2.3
2022-07-11 10:55:48 +01:00
Simon Michael
62e922cd4d
ci: linux-x64-static: cache cabal packages
2022-07-11 10:55:20 +01:00
Simon Michael
5ebbfea067
ci: linux-x64-static: try building separately to avoid segfault
2022-07-11 10:55:17 +01:00
Simon Michael
17f28c65b4
ci: windows: ghc 9.2.3
2022-06-09 11:35:45 +01:00
Simon Michael
37fc8b5ff9
ci: windows: ghc 9.0 for now; and strip again ( #1869 )
2022-06-08 15:30:45 +01:00
Simon Michael
f8e9a13f26
;ci: consistent workflow and file names
2022-06-06 11:58:34 +01:00
Simon Michael
7bf668b552
ci: test: don't run on push to binaries
2022-06-06 11:49:08 +01:00
Simon Michael
7d3b90f869
ci: windows: don't strip, seems to break it
2022-06-06 11:47:50 +01:00
Simon Michael
cfde386dba
;ci: linux-x64-static: consistent executable names
2022-06-05 10:58:23 +01:00
Simon Michael
d9b7c396c8
ci: linux-x64-static: try ghc 9.0
2022-06-05 10:58:11 +01:00
Simon Michael
61d7e1f7c4
ci: linux-x64-static: try ghc 9.2.3
...
Try to work around https://gitlab.haskell.org/ghc/ghc/-/issues/20266
2022-06-05 10:58:11 +01:00
Simon Michael
ed98619e05
ci: run all main workflows on push to "binaries"
2022-06-05 00:03:15 +01:00
Simon Michael
05d5b7860b
;ci: more renames
2022-05-21 23:59:20 -10:00
Simon Michael
05a6940728
;ci: strip binaries on mac, and try on windows too
2022-05-21 23:46:57 -10:00
Simon Michael
15728bff05
;ci: mac, windows: consistent naming, add -x64
2022-05-21 23:41:56 -10:00
Simon Michael
f6db2ac855
ci: main: also upload binaries as an artifact
2022-05-21 23:37:59 -10:00
Simon Michael
96c2ed7a2d
;ci: linux-x64: bump to ghc 9.2.2
2022-05-21 23:21:20 -10:00
Simon Michael
211680da86
;ci: main: doc
2022-05-08 20:43:28 -10:00
Simon Michael
07502bd41c
ci: main: build haddocks --fast, in case that works
2022-04-25 01:48:14 -10:00
Simon Michael
75f87439e2
ci: replace push, pull workflows with main
2022-04-25 00:33:07 -10:00
Simon Michael
c2bc7dfb83
ci: push: also run for simon2 branch
2022-04-24 23:43:47 -10:00
Simon Michael
db28b6b9ee
;ci: pull: another fix like push
2022-04-21 21:32:44 -10:00
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
fb834777a6
;fix: doc: update help/help-feedback links ( #1807 )
2022-01-15 08:53:48 -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
toonn
9ff5ac1288
; PR-template: Change comment syntax
...
The # syntax for comments results in all the lines being rendered as
separate headers because it's markdown syntax for titles. I believe the
markdown custom is to use `<!-- HTML comments -->`.
[ci skip]
2021-10-08 09:11:10 -10:00
toonn
1e4b5203a3
; PR-template: Update dev docs URL
...
The URL in the PR template redirects to a general contributing guide,
which is useful, but it's hard to see the trees for the forest when just
looking for PR and commit guidelines.
[ci skip]
2021-10-08 09:11:10 -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