Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
11,266 additions
and
38,208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Install TEX & Perl | ||
description: "Install TEX & packages, Perl" | ||
|
||
inputs: | ||
perl-version: | ||
description: "Required perl version" | ||
required: true | ||
DEVEL_COVER_OPTIONS: | ||
description: "Devel::Cover options base" | ||
required: true | ||
coverage: | ||
description: "Coverage indicator" | ||
default: '' | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install TinyTex | ||
uses: r-lib/actions/setup-tinytex@v2 | ||
|
||
- name: Setup Perl environment | ||
uses: shogo82148/actions-setup-perl@v1 | ||
with: | ||
perl-version: ${{ inputs.perl-version }} | ||
install-modules-with: cpm | ||
install-modules: | | ||
Devel::Cover | ||
Devel::Cover::Report::Coveralls | ||
# Features and Devel modules | ||
install-modules-args: > | ||
--notest | ||
--resolver=metacpan | ||
--with-develop | ||
--feature=starman | ||
--feature=latex-pdf-ps | ||
--feature=openoffice | ||
--feature=xls | ||
--feature=edi | ||
- name: Pre-run installation steps | ||
shell: bash | ||
run: | | ||
sudo apt -q -y install gettext | ||
# Install missing TeX packages | ||
tlmgr update --self | ||
tlmgr install koma-script | ||
- name: Setup coverage | ||
shell: bash | ||
run: | | ||
echo "PERL5OPT=-MDevel::Cover=${{ inputs.DEVEL_COVER_OPTIONS }} -MSyntax::Keyword::Try::Deparse" >> $GITHUB_ENV | ||
echo "YATH_DEVEL_COVER_OPTIONS=--cover=${{ inputs.DEVEL_COVER_OPTIONS }}" >> $GITHUB_ENV | ||
echo "JSCOVERAGE=--coverage" >> $GITHUB_ENV | ||
if: ${{ inputs.coverage }} | ||
|
||
- name: Starting 'starman' | ||
shell: bash | ||
run: | | ||
mkdir -p logs | ||
starman --preload-app --pid starman.pid --workers $JOB_COUNT \ | ||
--max-requests 50000 --error-log logs/starman-error.log \ | ||
-Ilib -Iold/lib --port 5762 bin/ledgersmb-server.psgi & |
Oops, something went wrong.