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
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
John MacFarlane
5f33df322c
CI: use checkout@v2, and use haskell-setup to install stack.
2020-09-22 09:13:48 -07:00
Albert Krewinkel
b2decdfd13
CI: bump tested GHC versions to 8.8.4 and 8.10.2
...
Besides being newer, GHC version 8.10.2 comes preinstalled on GitHub
Actions environments; using it slightly speeds up CI tests.
2020-09-20 22:57:51 +02:00
Albert Krewinkel
4b459b49ea
CI: remove duplicate build step on macOS
2020-09-20 22:57:39 +02:00
John MacFarlane
c2f1fadb2c
CI: use cabal for macos builds.
2020-09-10 09:44:12 -07:00
John MacFarlane
0985e38977
CI/macOS: Fix stack invocations.
2020-09-03 09:46:59 -07:00
John MacFarlane
60910d5278
CI/macOs: Use setup-haskell to setup stack.
2020-09-03 09:42:28 -07:00
John MacFarlane
c22b12100d
Actions CI: Try cache@v2.
2020-08-15 11:49:56 -07:00
John MacFarlane
4e88ce682d
Restore testing with ghc 8.0.2.
2020-07-23 21:36:06 -07:00
John MacFarlane
c2cc4a0504
CI: Drop testing on ghc 8.0.2.
2020-07-19 22:51:59 -07:00
Nikolay Yakimov
f52337ccdc
[CI] Use setup-haskell action
2020-07-13 19:49:36 +03:00
Albert Krewinkel
97ad96437c
CI: fix typo in GitHub CI workflow config
...
Switch `ignore-paths` with `paths-ignore`.
2020-06-23 15:36:46 +02:00
Albert Krewinkel
b907d25fe4
CI: use GitHub workflow command to set system path
...
This way, the PATH environment variable does not have to be set
repeatedly in each step.
2020-06-20 09:12:51 +02:00
John MacFarlane
2d9d779fbe
linux CI: use ppa to install older ghc/cabal versions.
2020-06-15 10:02:31 -07:00
John MacFarlane
368360e005
Linux CI: use cabal 3.2 for everything.
...
The ubuntu images no longer contain older cabal versions, it
semes.
2020-06-14 23:37:21 -07:00
John MacFarlane
43787143d2
CI: use ubuntu-18.04 instead of 20.04.
2020-06-14 16:45:01 -07:00
John MacFarlane
c449788440
CI: use cabal 3.2, also specify OS versions instead of 'latest.'
2020-06-14 16:41:12 -07:00
John MacFarlane
f699d64a1a
Switch CI to use ghc 8.8.3.
...
This should fix CI failures.
2020-06-14 10:06:21 -07:00
Nikolay Yakimov
52a73abfe4
[CI] broken commit message length test ( #6398 )
...
* [CI] Fix commit message length check
* [CI] Smarter commit message length check
* [CI] Fix commit message length check for new branches
* [CI] Output offending commits
2020-05-25 22:07:24 -07:00
John MacFarlane
fe000134a8
CI: another attempt to fix line-length check.
2020-05-25 09:50:17 -07:00
John MacFarlane
fdf34816a5
CI: Don't include merge commits when checking message length.
2020-05-25 09:26:16 -07:00
John MacFarlane
2aa0832320
Add commit message check to ci.yml workflow.
2020-05-21 14:38:14 -07:00
John MacFarlane
de066cc7f6
Revert "Windows CI: try adding -fexternal-interpreter as ghc option."
...
This reverts commit 47bfcfb406
.
2020-05-04 14:34:56 -07:00
John MacFarlane
47bfcfb406
Windows CI: try adding -fexternal-interpreter as ghc option.
2020-05-04 12:17:38 -07:00
John MacFarlane
9e5ccaca61
Revert "Use 'set __COMPAT_LAYER=' in Windows CI builds."
...
This reverts commit 030c23e049
.
2020-05-04 09:34:26 -07:00
John MacFarlane
030c23e049
Use 'set __COMPAT_LAYER=' in Windows CI builds.
...
It is suggested at
https://github.com/commercialhaskell/stack/issues/3765
that this may solve the "access violation" we're currently
getting on Windows CI with ghc 8.8.
2020-05-04 08:44:59 -07:00
John MacFarlane
9b5e571b88
CI: be more selective about caching.
...
Only use the cache if stack.yaml or cabal.project hasn't changed.
2020-04-20 09:06:29 -07:00
John MacFarlane
6c17609398
Revert "Hide successes on cabal CI builds"
...
This reverts commit 671bb42c43
.
It didn't work with some older cabal versions.
2020-04-18 21:04:24 -07:00
John MacFarlane
b77dfe5fcd
CI: Don't cache .stack-work.
2020-04-18 21:02:06 -07:00
John MacFarlane
671bb42c43
Hide successes on cabal CI builds
2020-04-18 18:15:04 -07:00
John MacFarlane
f0f3cc14be
Add CI build for ghc 8.10.1.
2020-04-17 09:51:43 -07:00
John MacFarlane
7ed61e0b81
ci: remove ghc 8.10.1 build for now.
...
This is block by base-noprelude.
2020-04-16 09:13:31 -07:00
John MacFarlane
d7cd612904
nightly: don't need to apt-get install. ci: test on ghc 8.10.1.
2020-04-16 08:54:42 -07:00
John MacFarlane
20c1c297b2
Improve linux CI caching.
2020-04-13 23:04:23 -07:00
John MacFarlane
c1f5f3fa67
Improve linux caching for ci.
2020-04-12 22:17:50 -07:00
John MacFarlane
acb542df98
Add caching to linux ci.
2020-04-12 21:53:38 -07:00
John MacFarlane
984a06dc29
Add caching for Windows stack CI.
2020-04-12 15:52:14 -07:00
John MacFarlane
e05d0a627a
Add caching for macOS CI build.
2020-04-12 15:27:30 -07:00
John MacFarlane
3afd0c7f5b
ci: remove quotes around --hide-successes.
...
These seem to cause problems in windows.
2019-11-30 21:21:42 -08:00
John MacFarlane
be826cd39e
Don't use --test-option with cabal.
...
It's only supported in later versions, apparently.
2019-11-30 12:07:35 -08:00
John MacFarlane
9ffe6bbe53
Try --test-options with cabal.
...
--test-option seems not to work (though it works with cabal 3+).
2019-11-30 11:38:09 -08:00
John MacFarlane
866114565c
Hide successes in CI tests.
...
This makes it easier to spot failures.
2019-11-30 10:39:21 -08:00
John MacFarlane
d88015e03e
Revert "Don't do parallel build with cabal."
...
This reverts commit bd175d13b6
.
2019-11-27 21:32:17 -08:00
John MacFarlane
bd175d13b6
Don't do parallel build with cabal.
...
Hopefully this fixes the apparent OOM error on GitHub CI?
2019-11-27 20:39:05 -08:00
John MacFarlane
7746635a07
Enable ghc 8.8 on ci.
2019-10-03 22:42:10 -07:00
John MacFarlane
1981907c03
ci: fix linux path.
2019-10-02 08:52:22 -07:00
John MacFarlane
6644200a92
ci: properly fail if warnings on linux build.
2019-10-02 08:31:39 -07:00
John MacFarlane
1d4ea54aaa
ci: we don't need to install cabal/ghc manually, it seems.
2019-10-02 08:27:28 -07:00
John MacFarlane
dad5e0d083
CI tweaks.
2019-10-02 08:25:22 -07:00