267 Commits
Author SHA1 Message Date
John MacFarlane c5f791b737 Windows CI: fix directory for global cabal store. 2023-03-05 10:44:51 -08:00
John MacFarlane 2b5385922f Revert "Another attempt at fixing Windows CI caching."
This reverts commit 4345350038.
2023-03-05 10:28:02 -08:00
John MacFarlane 4345350038 Another attempt at fixing Windows CI caching.
We use setup-haskell, which defines cabal-store as one of its outputs.
2023-03-05 10:17:09 -08:00
John MacFarlane 32f0b1da90 CI: Use full windows path for cabal store. 2023-03-04 11:47:39 -08:00
John MacFarlane 572f3259a9 Another attempt to fix windows CI caching. 2023-03-04 11:05:54 -08:00
John MacFarlane 8701da67be Fix nix CI. 2023-03-04 10:58:39 -08:00
John MacFarlane 04b55dd926 Add linux-nix-cabal CI. 2023-03-04 10:50:19 -08:00
John MacFarlane bdb65152e7 Another try at fixing Windows CI caching. 2023-03-04 10:17:52 -08:00
John MacFarlane 07de443c6e Another attempt to fix windows CI caching. 2023-03-02 13:41:53 -08:00
John MacFarlane 7446044ec4 Try to fix cabal global store caching on Windows CI. 2023-03-02 10:17:34 -08:00
John MacFarlane d1c74ae78c Install pkg-config for macos nightly. 2023-02-18 20:54:49 -07:00
John MacFarlane 431979c2e0 CI: add linux-stack. 2023-02-14 12:49:27 -08:00
John MacFarlane 0297f1d180 CI: switch to using cabal on windows.
stack on windows has too many weird errors.
2023-02-14 10:56:44 -08:00
John MacFarlane 4edc02d3b5 Windows CI: don't cache local packages.
We're running into a stack bug with internal libraries.
See commercialhaskell/stack#6046.
2023-02-08 20:17:30 -08:00
John MacFarlane 5feb0d14ae CI: workaround ghcup issue on GitHub actions CI.
See https://discourse.haskell.org/t/incident-github-actions-ci-failure-ghcup/5761
2023-02-08 16:06:17 -08:00
John MacFarlane 538e63846d Macos release candidate action: fix version.txt. 2023-01-18 13:07:54 -08:00
Albert Krewinkel 8034909678 CI: remove unused key testopts from version matrix. 2023-01-12 22:21:39 +01:00
Albert Krewinkel 28fa37e554 CI: test with GHC 9.2.5 and 9.4.4 2023-01-12 22:21:39 +01:00
Albert Krewinkel 2101dcf54c CI: bump all versions of "cache" action to v3
This fixes deprecation warnings on GitHub.
2023-01-12 15:05:28 +01:00
John MacFarlane 1bc48e9dc5 CI: use cabal 3.8.1.0, --ghc-options=-Werror.
Previously we had to work around a cabal-install bug that caused
`-Werror` to react to dependencies as well as local packages,
but this is fixed in cabal 3.8.1.0.  There are some cases in which
building dependencies only doesn't work (see #8084).
2022-11-07 08:32:54 -08:00
John MacFarlane df36019768 First stab at mtl 2.3 compliance.
This will no doubt produce a bunch of warnings and hence CI
failures, which we'll need to work around with explicit imports.
2022-10-31 16:51:51 -07:00
John MacFarlane 4f138b440b Nightly: strip executables on windows and macos. 2022-10-29 22:19:28 -07:00
John MacFarlane 73b7c63010 Use cabal for nightly builds. 2022-10-29 14:34:15 -07:00
John MacFarlane 56fe6fe417 Nightly windows: add stack clean. 2022-10-29 13:15:53 -07:00
John MacFarlane 82072f588c ALlow nightly action to be run manually. 2022-10-29 10:59:53 -07:00
John MacFarlane 3ceb7a6261 Nightly windows build: use --local-bin-path to place binary. 2022-10-29 10:57:05 -07:00
John MacFarlane 0be828c103 CI: add ghc 9.4.2. 2022-10-28 09:33:03 -07:00
John MacFarlane 0e85a77f78 Switch release_candidate workflow to workflow_dispatch 2022-10-24 16:23:30 -07:00
John MacFarlane dbac9541b5 CI: Make sure we test -lua configuration. 2022-10-17 22:10:30 -07:00
John MacFarlane 27ecd894ca CI: make sure we catch benchmark build failure. 2022-10-13 23:46:07 -07:00
Albert Krewinkel 6300c3e10d CI: build and test all components 2022-10-09 11:53:35 +02:00
John MacFarlane 875747f351 Fix rc build for Windows. 2022-10-04 14:19:12 -07:00
John MacFarlane 1c01d39a17 Fix nightly flag for macos nightly build. 2022-10-02 09:33:52 -07:00
John MacFarlane 08b9530fc1 Fix nightly Windows build so it uses nightly flag. 2022-10-01 10:23:30 -07:00
John MacFarlane 57fd3c4f81 cabal.project: move back to using flags:.
If we add the flag to constraints, it can't be overridden on
the command line.
2022-09-29 10:19:30 -07:00
John MacFarlane 04d79eac30 CI: Update files that don't trigger CI. 2022-09-27 10:47:40 -07:00
John MacFarlane 3162f111ef CI: remove macos tests.
These take much longer than the others and slow down CI,
but there are almost never issues on macos that wouldn't show on linux.
2022-09-27 10:05:25 -07:00
John MacFarlane e6db278061 Split benchmarks out of CI into separate action.
The benchmark action is only run on manual dispatch.

Rationale: this action dramatically slows down CI.
It is nice to run benchmarks, but we don't need them all the time.

We add (non-optimized) testing of benchmark compilation to one of
the CI builds.
2022-09-27 09:34:57 -07:00
John MacFarlane 5e6b28cd0e CI: Test compilation without 'server' flag. 2022-09-26 22:03:27 -07:00
John MacFarlane d0c6b3110f CI: use secrets.CACHE_VERSION as cache key.
This allows us to invalidate the cache by incrementing
secrets.CACHE_VERSION in the UI.

The key component deriving from cabal.project has been removed.

Local caching has been re-added for Windows/stack.
2022-09-26 08:34:27 -07:00
Albert Krewinkel ced8b258be Fix stack config, nightly build 2022-09-23 11:16:06 +02:00
John MacFarlane 8ad64a8318 Add pandoc-lua and man pages to releases. 2022-09-22 14:49:02 -07:00
dependabot[bot] 7f1bb99a03 build(deps): bump actions/upload-artifact from 2 to 3 (#8304)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-18 20:38:35 -07:00
John MacFarlane 48ec4b55b7 Remove -split-sections from windows release candidate build.
It's not available for Windows ghc.
2022-08-17 14:53:22 -07:00
John MacFarlane 67f6c9eb75 Release candidate: try to speed up and improve windows build. 2022-08-17 14:05:51 -07:00
John MacFarlane b3fdfb912c macos release candidate: create symlink after download.
Otherwise we seem to get a full copy of the file!
2022-08-17 14:01:36 -07:00
John MacFarlane 8ddc2fc79a Integrate server into main pandoc.
- Remove server flag.
- Remove pandoc-server executable.
- Add Text.Pandoc.Server as exposed module. [API change]
- Re-use Opt (and our existing FromJSON instance) for Params.
- Document.
2022-08-17 12:28:14 -07:00
John MacFarlane 97288cea56 Make sure we test building the server. 2022-08-16 09:14:10 -07:00
John MacFarlane 46eecf72c3 Fix rc action for pandoc-server. 2022-08-16 09:12:55 -07:00
John MacFarlane 1f3f9d6dda Switch CI to ubuntu-latest. 2022-08-08 13:32:28 -07:00