-
Notifications
You must be signed in to change notification settings - Fork 22
59 lines (55 loc) · 2.41 KB
/
texlive.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Based on https://github.com/CTeX-org/ctex-kit/blob/master/.github/workflows/test.yml
name: Test tabularray in TeX Live
on: [push, pull_request]
env:
CTAN_URL: https://mirrors.rit.edu/CTAN
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install TeX Live
run: |
export PATH=${{github.workspace}}/tmp/texlive/bin/x86_64-linux:$PATH
wget ${{env.CTAN_URL}}/systems/texlive/tlnet/install-tl-unx.tar.gz
tar -xzf install-tl-unx.tar.gz
cd install-tl-20*
./install-tl --profile ../.github/workflows/texlive.profile
echo $(cat ${{github.workspace}}/.github/workflows/texlive.package) | xargs tlmgr install
tlmgr update --self --all --no-auto-install --repository=${{env.CTAN_URL}}/systems/texlive/tlnet/
- name: Test tabularray with l3build
run: |
export PATH=${{github.workspace}}/tmp/texlive/bin/x86_64-linux:$PATH
l3build check --debug --halt-on-error --show-log-on-error
- name: Install pdftoppm
run:
sudo apt-get install poppler-utils
- name: Test tabularray with ppmcheck
run: |
export PATH=${{github.workspace}}/tmp/texlive/bin/x86_64-linux:$PATH
texlua ppmcheck.lua
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Install TeX Live
run: |
${env:PATH} = "${{github.workspace}}\tmp\texlive\bin\windows;" + ${env:PATH}
Invoke-WebRequest -Uri ${{env.CTAN_URL}}/systems/texlive/tlnet/install-tl.zip -OutFile install-tl.zip
Expand-Archive install-tl.zip -DestinationPath .
Set-Location install-tl-*
.\install-tl-windows --no-gui --profile ..\.github\workflows\texlive.profile
${{github.workspace}}/.github/workflows/texlive.bat
tlmgr update --self --all --no-auto-install --repository=${{env.CTAN_URL}}/systems/texlive/tlnet/
- name: Test tabularray with l3build
run: |
${env:PATH} = "${{github.workspace}}\tmp\texlive\bin\windows;" + ${env:PATH}
l3build check --debug --halt-on-error --show-log-on-error
- name: Install pdftoppm
run: |
${env:PATH} = "${{github.workspace}}\tmp\texlive\bin\windows;" + ${env:PATH}
tlmgr install wintools.windows
- name: Test tabularray with ppmcheck
run: |
${env:PATH} = "${{github.workspace}}\tmp\texlive\bin\windows;" + ${env:PATH}
texlua ppmcheck.lua