aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/release-candidate.yml
AgeCommit message (Collapse)AuthorFilesLines
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.
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-21Add built-in citation support using new citeproc library.John MacFarlane1-3/+3
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-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-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-23release-candidate: pin upload-artifact to specific version.John MacFarlane1-3/+3
2020-06-29rc action: use older stack that supports i386 for Windows i386 build.John MacFarlane1-1/+2
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-3/+3
2020-03-22Actions/release-candidate/macos: set up to create package locally.John MacFarlane1-13/+4
We need to sign the binaries before inserting them into the package, so this should be done locally.
2020-01-21Windows rc: Create the release dir.John MacFarlane1-0/+1
2020-01-18windows release candidate build: More fixes to get 'light' to work.John MacFarlane1-1/+2
2020-01-18Windows ci: Add binpath when doing 'light'.John MacFarlane1-1/+1
2020-01-18Fix typo in windows ci build.John MacFarlane1-1/+1
2020-01-17Use versioned directory for windows release zipfile.John MacFarlane1-8/+9
Also remove old make-windows-installer.bat, superseded by GitHub actions workflow, and modify pandoc.wxs for new paths.
2019-12-22Macos release workflow: just copy pandoc.1 rather than regenerating.John MacFarlane1-4/+1
2019-12-21Revert "linux release-candidate build: try setting LIBRARY_PATH."John MacFarlane1-1/+0
This reverts commit 392c14311f5f48b0bfaa4e141c36ea2c365b90b1. It didn't help.
2019-12-21linux release-candidate build: try setting LIBRARY_PATH.John MacFarlane1-0/+1
For some reason ld can't find zlib in the latest build. Maybe this will help?
2019-11-29Add Makefile to windows release-candidate build.John MacFarlane1-2/+3
Running 'make' in this directory will do the code signing of the msi.
2019-11-18Use -j1 for rc builds.John MacFarlane1-2/+2
Avoid running out of memory.
2019-10-05release-candidate.yml: add zip for windows.John MacFarlane1-0/+2
2019-10-05Update release-candidate.yml for GitHub actions.John MacFarlane1-43/+82
Adds builds for macos and for both 32- and 64-bit windows.
2019-10-04windows rc: build 32- and 64-bit msi.John MacFarlane1-6/+17
2019-09-22Preliminary GitHub action for release-candidate building.John MacFarlane1-0/+96