Commit graph

116 commits

Author SHA1 Message Date
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
f623db1d85 Fix path for nightly linux build. 2020-04-17 07:37:22 -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
cc7e6d8280 nightly: ensure that ghc 8.8.1 is used for linux.
Previously it was using 8.10 which is suprisingly already installed.
2020-04-16 08:49:14 -07:00
John MacFarlane
b64ece76cb nightly build: print ghc, cabal versions for diagnostics. 2020-04-15 10:41:47 -07:00
John MacFarlane
f429863271 Use ghc 8.8.1 for nightly linux build. 2020-04-15 09:43:18 -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
9b00526e44 Actions/release-candidate/macos: set up to create package locally.
We need to sign the binaries before inserting them into the
package, so this should be done locally.
2020-03-22 10:30:45 -07:00
John MacFarlane
761ece90c9 Windows rc: Create the release dir. 2020-01-21 17:56:31 -08:00
John MacFarlane
5028278569 windows release candidate build: More fixes to get 'light' to work. 2020-01-18 16:02:28 -08:00
John MacFarlane
2895fdccfb Windows ci: Add binpath when doing 'light'. 2020-01-18 12:15:56 -08:00
John MacFarlane
9570576fa9 Fix typo in windows ci build. 2020-01-18 09:30:17 -08:00
John MacFarlane
c78af6f3a6 Use versioned directory for windows release zipfile.
Also remove old make-windows-installer.bat, superseded
by GitHub actions workflow, and modify pandoc.wxs for
new paths.
2020-01-17 15:37:49 -08:00
John MacFarlane
6cf7a9cd8e Add @tarleb to .github/FUNDING.yml since he is on sponsors now. 2020-01-10 08:03:33 -08:00
John MacFarlane
5de761482a Macos release workflow: just copy pandoc.1 rather than regenerating. 2019-12-22 22:58:53 -08:00
John MacFarlane
434a483eab Revert "linux release-candidate build: try setting LIBRARY_PATH."
This reverts commit 392c14311f.

It didn't help.
2019-12-21 20:28:50 -08:00
John MacFarlane
392c14311f linux release-candidate build: try setting LIBRARY_PATH.
For some reason ld can't find zlib in the latest build.
Maybe this will help?
2019-12-21 13:35:16 -08: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
ee6cf6ad6b Add Makefile to windows release-candidate build.
Running 'make' in this directory will do the code signing of the msi.
2019-11-29 11:50:09 -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
0267c1f6f3 Use -j1 for rc builds.
Avoid running out of memory.
2019-11-18 21:11:46 -08:00
John MacFarlane
60ce075370
Create FUNDING.yml 2019-10-14 08:37:18 -07:00
John MacFarlane
7d25a7f3fe release-candidate.yml: add zip for windows. 2019-10-05 10:17:06 -07:00
John MacFarlane
d40349d541 Update release-candidate.yml for GitHub actions.
Adds builds for macos and for both 32- and 64-bit windows.
2019-10-05 10:01:04 -07:00
John MacFarlane
c1015abb4d windows rc: build 32- and 64-bit msi. 2019-10-04 22:43:39 -07: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
John MacFarlane
c40e0c9e62 GitHub ci - back to using ignore-paths.
paths with ! doesn't seem to do it.
2019-09-25 09:53:44 -07:00
John MacFarlane
22821ba2da GitHub CI: use paths rather than paths-ignore, use branch to exclude rc/. 2019-09-25 09:22:26 -07:00
John MacFarlane
67822bd925 Fix linux ci. 2019-09-23 09:49:54 -07:00