Skip to content

Merge branch 'use_uint8array' #632

Merge branch 'use_uint8array'

Merge branch 'use_uint8array' #632

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@v4
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@v4
with:
node-version: '20'
- run: latex -v
- run: |
which perl
perl -v
- run: perl -MCwd -e 'print $Cwd::VERSION."\n";'
- run: latexmk -v
- run: |
ls -al /Users/runner/texlive/bin/ || true
echo "$PATH"
bash -cl 'echo $PATH'
bash -c 'echo $PATH'
cat ~/.bashrc || true
cat ~/.bash_profile || true
cat ~/.profile || true
cat ~/.bash_login || true
- run: |
npm ci
npm run compile
- name: Run tests
run: npm run test