Update packages: #707
Workflow file for this run
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
name: TeX Live on Windows | |
env: | |
cache-version: v13 | |
on: | |
push: | |
tags-ignore: | |
- 'v*.*.*' | |
branches: | |
- '*' | |
permissions: | |
contents: read | |
jobs: | |
windows: | |
runs-on: windows-latest | |
timeout-minutes: 40 | |
steps: | |
- name: Prepare git | |
run: git config --global core.autocrlf false | |
- uses: actions/checkout@v4 | |
- name: Set up PATH | |
run: | | |
echo "C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin" >> $GITHUB_PATH | |
echo "D:\texlive\bin\windows" >> $GITHUB_PATH | |
shell: bash | |
- name: Cache TeX Live | |
id: cache-texlive | |
uses: actions/cache@v4 | |
with: | |
path: D:\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-windows.bat | |
run: | | |
install-tl-dir\install-tl-windows.bat --profile test\config\texlive_windows.profile | |
if: steps.cache-texlive.outputs.cache-hit != 'true' | |
shell: cmd | |
- 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: perl -v | |
- run: perl -MCwd -e 'print $Cwd::VERSION."\n";' | |
- run: latexmk -v | |
- run: echo "$PATH" | |
- run: | | |
npm ci | |
npm run compile | |
- name: Run tests | |
run: npm run test |