Skip to content

Commit

Permalink
Merge c3158ad into 71447aa
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuelsmann committed Aug 21, 2023
2 parents 71447aa + c3158ad commit 4ff51e6
Show file tree
Hide file tree
Showing 10 changed files with 11,266 additions and 38,208 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Expand Up @@ -135,20 +135,21 @@ commands:
keys:
# Find a cache corresponding to this specific package-lock.json checksum
# when this file is changed, this key will fail
- v1-npm-deps-{{ checksum "UI/package-lock.json" }}
- v1-npm-deps-{{ checksum "UI/yarn.lock" }}
# Find the most recently generated cache used from any branch
- v1-npm-deps-

- run:
name: Make JS + README
command: |
sudo npm install -g yarn
make js
make readme
- save_cache:
key: v1-npm-deps-{{ checksum "UI/package-lock.json" }}
key: v1-npm-deps-{{ checksum "UI/yarn.lock" }}
paths:
- $HOME/.npm
- UI/node_modules

- run:
name: Set up dirs and files
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/Install TEX & Perl/action.yml
@@ -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 &

0 comments on commit 4ff51e6

Please sign in to comment.