aboutsummaryrefslogtreecommitdiff
path: root/.github
AgeCommit message (Collapse)AuthorFilesLines
2021-05-10CI: install numa library.John MacFarlane1-0/+4
See failure at https://github.com/jgm/pandoc/runs/2541449722
2021-04-19Fix nightly build.John MacFarlane1-2/+2
2021-04-18CI: Use cabal 2.4 even with ghc 8.0.2John MacFarlane1-2/+2
2021-03-19CI: test with different flags.John MacFarlane1-3/+9
2021-03-17Fix benchmark in ci.John MacFarlane1-1/+1
2021-03-16Fix benchmark CI to use gauge options.John MacFarlane1-1/+1
2021-03-06Fix linux nightly build to use ghc 8.10.3.John MacFarlane1-0/+7
With 9.0.1 we can't yet build all dependencies.
2021-03-02Avoid split-sections for Windows rc.John MacFarlane1-2/+1
We get an error "too many sections." Maybe a bug in stack? https://stackoverflow.com/questions/64287505/ld-too-many-sections-90295
2021-03-01Use -split-sections in creating release binary.John MacFarlane1-1/+1
This is supposed to reduce executable size.
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-18Improve check target to test data/ too.John MacFarlane1-6/+1
2020-12-18Remove checkdocs from lint ci.John MacFarlane1-4/+0
2020-12-18Move sanity checks to lint ci.John MacFarlane2-9/+12
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-19JATS writer: support advanced table featuresAlbert Krewinkel1-10/+21
2020-11-18CI: validate JATS table outputAlbert Krewinkel1-6/+30
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-11-07Lint code in PRs and when committing to master (#6790)Albert Krewinkel1-0/+30
* Remove unused LANGUAGE pragmata * Apply HLint suggestions * Configure HLint to ignore some warnings * Lint code when committing to master
2020-10-31CI: improve JATS format validator workflowAlbert Krewinkel1-8/+14
2020-10-31CI: validate JATS old-style writer test outputAlbert Krewinkel1-0/+47
2020-10-08Use ghc 8.8.4 for CI build on macOS, because it is pre-installed.John MacFarlane1-1/+1
2020-10-05Run nightly one hour later.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-23Revert stack->cabal change in nightly.yml.John MacFarlane1-20/+21
2020-09-22release-candidate build: use latest stack on the runner.John MacFarlane1-57/+0
instead of installing from choco. Remove obsolete macos and win i386 sections.
2020-09-22Nightly process improvements.John MacFarlane1-33/+20
- Use cabal for windows. - Use most recent cabal/ghc. - Udd sha1 to executable name.
2020-09-22CI: use checkout@v2, and use haskell-setup to install stack.John MacFarlane2-10/+11
2020-09-21Add built-in citation support using new citeproc library.John MacFarlane2-12/+9
This deprecates the use of the external pandoc-citeproc filter; citation processing is now built in to pandoc. * Add dependency on citeproc library. * Add Text.Pandoc.Citeproc module (and some associated unexported modules under Text.Pandoc.Citeproc). Exports `processCitations`. [API change] * Add data files needed for Text.Pandoc.Citeproc: default.csl in the data directory, and a citeproc directory that is just used at compile-time. Note that we've added file-embed as a mandatory rather than a conditional depedency, because of the biblatex localization files. We might eventually want to use readDataFile for this, but it would take some code reorganization. * Text.Pandoc.Loging: Add `CiteprocWarning` to `LogMessage` and use it in `processCitations`. [API change] * Add tests from the pandoc-citeproc package as command tests (including some tests pandoc-citeproc did not pass). * Remove instructions for building pandoc-citeproc from CI and release binary build instructions. We will no longer distribute pandoc-citeproc. * Markdown reader: tweak abbreviation support. Don't insert a nonbreaking space after a potential abbreviation if it comes right before a note or citation. This messes up several things, including citeproc's moving of note citations. * Add `csljson` as and input and output format. This allows pandoc to convert between `csljson` and other bibliography formats, and to generate formatted versions of CSL JSON bibliographies. * Add module Text.Pandoc.Writers.CslJson, exporting `writeCslJson`. [API change] * Add module Text.Pandoc.Readers.CslJson, exporting `readCslJson`. [API change] * Added `bibtex`, `biblatex` as input formats. This allows pandoc to convert between BibLaTeX and BibTeX and other bibliography formats, and to generated formatted versions of BibTeX/BibLaTeX bibliographies. * Add module Text.Pandoc.Readers.BibTeX, exporting `readBibTeX` and `readBibLaTeX`. [API change] * Make "standalone" implicit if output format is a bibliography format. This is needed because pandoc readers for bibliography formats put the bibliographic information in the `references` field of metadata; and unless standalone is specified, metadata gets ignored. (TODO: This needs improvement. We should trigger standalone for the reader when the input format is bibliographic, and for the writer when the output format is markdown.) * Carry over `citationNoteNum` to `citationNoteNumber`. This was just ignored in pandoc-citeproc. * Text.Pandoc.Filter: Add `CiteprocFilter` constructor to Filter. [API change] This runs the processCitations transformation. We need to treat it like a filter so it can be placed in the sequence of filter runs (after some, before others). In FromYAML, this is parsed from `citeproc` or `{type: citeproc}`, so this special filter may be specified either way in a defaults file (or by `citeproc: true`, though this gives no control of positioning relative to other filters). TODO: we need to add something to the manual section on defaults files for this. * Add deprecation warning if `upandoc-citeproc` filter is used. * Add `--citeproc/-C` option to trigger citation processing. This behaves like a filter and will be positioned relative to filters as they appear on the command line. * Rewrote the manual on citatations, adding a dedicated Citations section which also includes some information formerly found in the pandoc-citeproc man page. * Look for CSL styles in the `csl` subdirectory of the pandoc user data directory. This changes the old pandoc-citeproc behavior, which looked in `~/.csl`. Users can simply symlink `~/.csl` to the `csl` subdirectory of their pandoc user data directory if they want the old behavior. * Add support for CSL bibliography entry formatting to LaTeX, HTML, Ms writers. Added CSL-related CSS to styles.html.
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-28release-candidate: don't build windows i386.John MacFarlane1-5/+5
So far we haven't been able to figure out how to get stack to use a 32-bit ghc.
2020-08-27Remove macos build from GitHub actions rc.John MacFarlane1-43/+44
2020-08-15Actions CI: Try cache@v2.John MacFarlane1-10/+14
2020-08-11Linux rc build: use ghc-musl container.John MacFarlane1-1/+0
This simplifies our build process a bit (over using a customized alpine container). Use new `--enable-executable-static` flag in build. make_artifacts.sh: Fix deprecated find -perm syntax.
2020-07-23Restore testing with ghc 8.0.2.John MacFarlane1-0/+2
2020-07-23release-candidate: pin upload-artifact to specific version.John MacFarlane1-3/+3
2020-07-19CI: Drop testing on ghc 8.0.2.John MacFarlane1-2/+0