aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
AgeCommit message (Collapse)AuthorFilesLines
2021-03-17Fix benchmark in ci.John MacFarlane1-1/+1
2021-03-16Fix benchmark CI to use gauge options.John MacFarlane1-1/+1
2021-02-28Fix CI for older cabal versions.John MacFarlane1-7/+16
We add fields to matrix.versions to handle the cabal command prefix (v2-, new-, nothing) and whether `--test-option` is supported.
2021-02-28CI: don't use --test-option with older cabal versions (< 3).John MacFarlane1-1/+2
2021-02-26CI: hide successes in linux test output.John MacFarlane1-1/+1
2021-02-22CI: Add 'benchmark' to benchmark cache key.John MacFarlane1-2/+2
For benchmark we build with optimizations, so the regular cache is useless.
2021-02-22benchmark CI improvements.John MacFarlane1-3/+3
- don't build tests, just benchmarks. - get allocation info.
2021-02-22Rename benchmark in CI.John MacFarlane1-1/+1
2021-02-22Add linux benchmark to CI.John MacFarlane1-0/+56
2021-02-06CI: use haskell/actions/setup.John MacFarlane1-3/+3
actions/haskell-setup is no longer maintained.
2021-02-06CI: use cabal 2.2 when building with GHC 8.0.2. (#7085)Albert Krewinkel1-5/+8
2020-12-18Move sanity checks to lint ci.John MacFarlane1-9/+0
2020-12-18Add sanity checks to all CI targets.John MacFarlane1-0/+6
2020-12-18Add sanity checks to ci.John MacFarlane1-0/+3
2020-11-16CI: remove setup-haskell for windows.John MacFarlane1-4/+5
It is no longer necessary, because ghc, cabal, and stack are pre-installed.
2020-11-16Update setup-haskell version.John MacFarlane1-3/+3
2020-10-08Use ghc 8.8.4 for CI build on macOS, because it is pre-installed.John MacFarlane1-1/+1
2020-10-04Try to fix Windows CI by installing happy first.John MacFarlane1-0/+1
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-09-22CI: use checkout@v2, and use haskell-setup to install stack.John MacFarlane1-7/+8
2020-09-20CI: bump tested GHC versions to 8.8.4 and 8.10.2Albert Krewinkel1-4/+3
Besides being newer, GHC version 8.10.2 comes preinstalled on GitHub Actions environments; using it slightly speeds up CI tests.
2020-09-20CI: remove duplicate build step on macOSAlbert Krewinkel1-6/+0
2020-09-10CI: use cabal for macos builds.John MacFarlane1-17/+34
2020-09-03CI/macOS: Fix stack invocations.John MacFarlane1-3/+3
2020-09-03CI/macOs: Use setup-haskell to setup stack.John MacFarlane1-4/+7
2020-08-15Actions CI: Try cache@v2.John MacFarlane1-10/+14
2020-07-23Restore testing with ghc 8.0.2.John MacFarlane1-0/+2
2020-07-19CI: Drop testing on ghc 8.0.2.John MacFarlane1-2/+0
2020-07-13[CI] Use setup-haskell actionNikolay Yakimov1-10/+4
2020-06-23CI: fix typo in GitHub CI workflow configAlbert Krewinkel1-2/+2
Switch `ignore-paths` with `paths-ignore`.
2020-06-20CI: use GitHub workflow command to set system pathAlbert Krewinkel1-2/+3
This way, the PATH environment variable does not have to be set repeatedly in each step.
2020-06-15linux CI: use ppa to install older ghc/cabal versions.John MacFarlane1-3/+14
2020-06-14Linux CI: use cabal 3.2 for everything.John MacFarlane1-4/+4
The ubuntu images no longer contain older cabal versions, it semes.
2020-06-14CI: use ubuntu-18.04 instead of 20.04.John MacFarlane1-1/+1
2020-06-14CI: use cabal 3.2, also specify OS versions instead of 'latest.'John MacFarlane1-4/+4
2020-06-14Switch CI to use ghc 8.8.3.John MacFarlane1-1/+1
This should fix CI failures.
2020-05-25[CI] broken commit message length test (#6398)Nikolay Yakimov1-10/+0
* [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-25CI: another attempt to fix line-length check.John MacFarlane1-2/+1
2020-05-25CI: Don't include merge commits when checking message length.John MacFarlane1-1/+1
2020-05-21Add commit message check to ci.yml workflow.John MacFarlane1-0/+11
2020-05-04Revert "Windows CI: try adding -fexternal-interpreter as ghc option."John MacFarlane1-2/+2
This reverts commit 47bfcfb406e2980f07fea9c9884f037a0a670f03.
2020-05-04Windows CI: try adding -fexternal-interpreter as ghc option.John MacFarlane1-2/+2
2020-05-04Revert "Use 'set __COMPAT_LAYER=' in Windows CI builds."John MacFarlane1-6/+0
This reverts commit 030c23e04970570ec6f6aa574da33193366d77a9.
2020-05-04Use 'set __COMPAT_LAYER=' in Windows CI builds.John MacFarlane1-0/+6
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-04-20CI: be more selective about caching.John MacFarlane1-11/+3
Only use the cache if stack.yaml or cabal.project hasn't changed.
2020-04-18Revert "Hide successes on cabal CI builds"John MacFarlane1-1/+1
This reverts commit 671bb42c43ff82cbbbdfce339ce1b0184274015d. It didn't work with some older cabal versions.
2020-04-18CI: Don't cache .stack-work.John MacFarlane1-11/+11
2020-04-18Hide successes on cabal CI buildsJohn MacFarlane1-1/+1
2020-04-17Add CI build for ghc 8.10.1.John MacFarlane1-2/+2
2020-04-16ci: remove ghc 8.10.1 build for now.John MacFarlane1-2/+2
This is block by base-noprelude.
2020-04-16nightly: don't need to apt-get install. ci: test on ghc 8.10.1.John MacFarlane1-0/+2