Commit graph

199 commits

Author SHA1 Message Date
John MacFarlane
1cbaea673d Stop doing lint in CI.
The script failed for reasons I can't determine.
For now, we disable it.
2021-09-20 23:20:48 -07:00
John MacFarlane
395d65fdbe CI: disable ansi-tricks in tasty.
This will prevent the test output from being overwhelmed
with headings from passing tests.
2021-09-08 09:02:28 -07:00
John MacFarlane
ea88979aa2 Make parts of the bug report templates HTML comments. 2021-06-11 13:29:21 -07:00
John MacFarlane
a916c4bce4 Revise issue report "dashboard." 2021-06-11 13:15:22 -07:00
John MacFarlane
b01a7aa66c Add note about asking questions to bug report template. 2021-06-11 09:53:07 -07:00
John MacFarlane
55e9ca7c78 Fix line breaks in issue templates. 2021-06-11 09:51:19 -07:00
John MacFarlane
2390f58a07 Fix link to contributing guidelines. 2021-06-11 09:50:01 -07:00
John MacFarlane
01bae106bf Add contributing guidelines to issue menu. 2021-06-11 09:47:17 -07:00
John MacFarlane
1abac223c2 More honing of issue templates. 2021-06-11 09:45:13 -07:00
John MacFarlane
85f1e1f306 Remove pull requset template. 2021-06-11 09:39:27 -07:00
John MacFarlane
c9b354e15f Add pull request template. 2021-06-11 09:37:37 -07:00
John MacFarlane
6d471a4a28 Improve issue templates. 2021-06-11 09:37:27 -07:00
John MacFarlane
d46e0551fe Revert "Remove md versions of issue templates."
This reverts commit 61c0e0bbfb.
2021-06-11 09:17:59 -07:00
John MacFarlane
61c0e0bbfb Remove md versions of issue templates. 2021-06-11 09:15:22 -07:00
John MacFarlane
1fe07e6387 Update issue templates 2021-06-11 09:13:49 -07:00
John MacFarlane
8d1853bd36 Fancier issue templates.
Based on Doom Emacs's templates.
2021-06-11 09:06:47 -07:00
Albert Krewinkel
54ab7a0a3b CI: test with GHC 9.0.1 2021-05-25 11:52:49 -07:00
John MacFarlane
83c83d4589 CI: install numa library.
See failure at https://github.com/jgm/pandoc/runs/2541449722
2021-05-10 08:45:43 -06:00
John MacFarlane
3ab08fe2fb Fix nightly build. 2021-04-19 12:59:11 -07:00
John MacFarlane
8d584b5826 CI: Use cabal 2.4 even with ghc 8.0.2 2021-04-18 21:58:55 -07:00
John MacFarlane
b0c8ba88a7 CI: test with different flags. 2021-03-19 14:34:13 -07:00
John MacFarlane
0075a456cc Fix benchmark in ci. 2021-03-17 17:08:42 -07:00
John MacFarlane
2770f88d53 Fix benchmark CI to use gauge options. 2021-03-16 13:01:38 -07:00
John MacFarlane
09548d8992 Fix linux nightly build to use ghc 8.10.3.
With 9.0.1 we can't yet build all dependencies.
2021-03-06 12:47:42 -08:00
John MacFarlane
651b241533 Avoid split-sections for Windows rc.
We get an error "too many sections."

Maybe a bug in stack?
https://stackoverflow.com/questions/64287505/ld-too-many-sections-90295
2021-03-02 10:01:52 -08:00
John MacFarlane
26c496d936 Use -split-sections in creating release binary.
This is supposed to reduce executable size.
2021-03-01 10:06:10 -08:00
John MacFarlane
5537802dc9 Fix CI for older cabal versions.
We add fields to matrix.versions to handle the cabal
command prefix (v2-, new-, nothing) and whether `--test-option`
is supported.
2021-02-28 18:33:04 -08:00
John MacFarlane
dd56822006 CI: don't use --test-option with older cabal versions (< 3). 2021-02-28 16:01:38 -08:00
John MacFarlane
c072b7cb59 CI: hide successes in linux test output. 2021-02-26 18:02:22 -08:00
John MacFarlane
938f402dec CI: Add 'benchmark' to benchmark cache key.
For benchmark we build with optimizations, so the regular
cache is useless.
2021-02-22 23:24:13 -08:00
John MacFarlane
21d0b4745b benchmark CI improvements.
- don't build tests, just benchmarks.
- get allocation info.
2021-02-22 22:09:32 -08:00
John MacFarlane
15bf01cd63 Rename benchmark in CI. 2021-02-22 21:38:58 -08:00
John MacFarlane
56a6478a40 Add linux benchmark to CI. 2021-02-22 21:36:31 -08:00
John MacFarlane
b63d579ba2 CI: use haskell/actions/setup.
actions/haskell-setup is no longer maintained.
2021-02-06 19:00:00 -08:00
Albert Krewinkel
51c3c93f0f
CI: use cabal 2.2 when building with GHC 8.0.2. (#7085) 2021-02-06 18:09:05 -08:00
John MacFarlane
757dbc637b Improve check target to test data/ too. 2020-12-18 12:05:24 -08:00
John MacFarlane
5d09870b9a Remove checkdocs from lint ci. 2020-12-18 11:07:47 -08:00
John MacFarlane
2bcb063df8 Move sanity checks to lint ci. 2020-12-18 09:55:34 -08:00
John MacFarlane
b7d7c45562 Add sanity checks to all CI targets. 2020-12-18 09:48:47 -08:00
John MacFarlane
a45fb0ac38 Add sanity checks to ci. 2020-12-18 09:25:02 -08:00
Albert Krewinkel
d286242131 JATS writer: support advanced table features 2020-11-19 22:09:52 +01:00
Albert Krewinkel
56f607b50b
CI: validate JATS table output 2020-11-18 18:10:11 +01:00
John MacFarlane
57102d6ac4 CI: remove setup-haskell for windows.
It is no longer necessary, because ghc, cabal, and stack are
pre-installed.
2020-11-16 21:06:25 -08:00
John MacFarlane
3e7076c85b Update setup-haskell version. 2020-11-16 18:25:56 -08:00
Albert Krewinkel
527346cc7e
Lint code in PRs and when committing to master (#6790)
* Remove unused LANGUAGE pragmata

* Apply HLint suggestions

* Configure HLint to ignore some warnings

* Lint code when committing to master
2020-11-07 10:38:03 -08:00
Albert Krewinkel
b0a072537b
CI: improve JATS format validator workflow 2020-10-31 22:59:35 +01:00
Albert Krewinkel
07e434850d
CI: validate JATS old-style writer test output 2020-10-31 15:20:30 +01:00
John MacFarlane
5a54595ae0 Use ghc 8.8.4 for CI build on macOS, because it is pre-installed. 2020-10-08 09:12:29 -07:00
John MacFarlane
d4707ee8bd Run nightly one hour later. 2020-10-05 23:59:17 -07:00
John MacFarlane
10b5abb9a0 Try to fix Windows CI by installing happy first.
We're having the build fail with

```
windows\ghc-8.6.5\mingw\bin\strip.exe: unable to rename 'C:\sr\snapshots\c886f694\bin\happy.exe'; reason: File exists
```
2020-10-04 08:33:16 -07:00