Skip to content

- Rename to findFileInDirs #283

- Rename to findFileInDirs

- Rename to findFileInDirs #283

Workflow file for this run

name: TeX Live on macOS
env:
cache-version: v13
on:
push:
tags-ignore:
- 'v*.*.*'
branches:
- '*'
permissions:
contents: read
jobs:
macosx:
runs-on: macos-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- name: Set up PATH
run: |
echo "/Users/runner/texlive/bin/x86_64-darwin" >> $GITHUB_PATH
echo "/Users/runner/texlive/bin/universal-darwin" >> $GITHUB_PATH
- name: Cache TeX Live
id: cache-texlive
uses: actions/cache@v3
with:
path: /Users/runner/texlive
key: ${{ env.cache-version }}-${{ runner.os }}-texlive-essential
restore-keys: |
${{ env.cache-version }}-${{ runner.os }}-texlive-essential
- name: Download install-tl.zip
run: |
curl -s -O -L http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip
unzip -q install-tl.zip
mv install-tl-2* install-tl-dir
if: steps.cache-texlive.outputs.cache-hit != 'true'
- name: Run install-tl
run: |
install-tl-dir/install-tl --profile test/config/texlive_mac.profile
if: steps.cache-texlive.outputs.cache-hit != 'true'
- name: Run tlmgr install
run: |
tlmgr install collection-latex
tlmgr install import subfiles latexmk makeindex
tlmgr install chktex lacheck
if: steps.cache-texlive.outputs.cache-hit != 'true'
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: latex -v
- run: |
which perl
perl -v
- run: perl -MCwd -e 'print $Cwd::VERSION."\n";'
- run: latexmk -v
- run: |
npm ci
npm run compile
- name: Run tests
run: npm run test