Skip to content

Commit

Permalink
remove release year from texdir
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjr committed Oct 21, 2024
1 parent 8457a9e commit 6993199
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions .github/workflows/texlive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on: [push, pull_request]

env:
TLCurrent: https://mirrors.rit.edu/CTAN/systems/texlive/tlnet
TLRelease: 2024

jobs:
build-ubuntu:
Expand All @@ -15,20 +14,20 @@ jobs:
- uses: actions/checkout@v3
- name: Install TeX Live
run: |
export PATH=/usr/local/texlive/${{env.TLRelease}}/bin/x86_64-linux:$PATH
export PATH=/usr/local/texlive/bin/x86_64-linux:$PATH
wget ${{env.TLCurrent}}/install-tl-unx.tar.gz
tar -xzf install-tl-unx.tar.gz
cd install-tl-20*
sudo ./install-tl --profile ../.github/workflows/texlive.profile --repository=${{env.TLCurrent}}
sudo ./install-tl --profile ../.github/workflows/texlive.profile --repository ${{env.TLCurrent}} --texdir /usr/local/texlive
sudo env "PATH=$PATH" tlmgr install lualibs luatex
sudo env "PATH=$PATH" tlmgr update --self --all --no-auto-install --repository=${{env.TLCurrent}}
- name: Run tfpbuild
run: |
export PATH=/usr/local/texlive/${{env.TLRelease}}/bin/x86_64-linux:$PATH
export PATH=/usr/local/texlive/bin/x86_64-linux:$PATH
texlua tfpbuild.lua check
- name: Test texfindpkg query
run: |
export PATH=/usr/local/texlive/${{env.TLRelease}}/bin/x86_64-linux:$PATH
export PATH=/usr/local/texlive/bin/x86_64-linux:$PATH
texlua texfindpkg.lua query array.sty
echo --------------------------------
texlua texfindpkg.lua query \\fakeverb
Expand All @@ -44,7 +43,7 @@ jobs:
texlua texfindpkg.lua query {foobar}
- name: Test texfindpkg install
run: |
export PATH=/usr/local/texlive/${{env.TLRelease}}/bin/x86_64-linux:$PATH
export PATH=/usr/local/texlive/bin/x86_64-linux:$PATH
texlua texfindpkg.lua install array.sty
echo --------------------------------
texlua texfindpkg.lua install \\fakeverb
Expand All @@ -60,7 +59,7 @@ jobs:
texlua texfindpkg.lua install {foobar}
- name: Test man page
run: |
export PATH=/usr/local/texlive/${{env.TLRelease}}/bin/x86_64-linux:$PATH
export PATH=/usr/local/texlive/bin/x86_64-linux:$PATH
man -l texfindpkg.1
sudo apt-get update
sudo apt-get install ghostscript
Expand All @@ -77,20 +76,20 @@ jobs:
- uses: actions/checkout@v3
- name: Install TeX Live
run: |
export PATH=/usr/local/texlive/${{env.TLRelease}}/bin/universal-darwin:$PATH
export PATH=/usr/local/texlive/bin/universal-darwin:$PATH
curl -O ${{env.TLCurrent}}/install-tl-unx.tar.gz
tar -xzf install-tl-unx.tar.gz
cd install-tl-20*
sudo ./install-tl --profile ../.github/workflows/texlive.profile --repository=${{env.TLCurrent}}
sudo ./install-tl --profile ../.github/workflows/texlive.profile --repository ${{env.TLCurrent}} --texdir /usr/local/texlive
sudo env "PATH=$PATH" tlmgr install lualibs luatex
sudo env "PATH=$PATH" tlmgr update --self --all --no-auto-install --repository=${{env.TLCurrent}}
- name: Run tfpbuild
run: |
export PATH=/usr/local/texlive/${{env.TLRelease}}/bin/universal-darwin:$PATH
export PATH=/usr/local/texlive/bin/universal-darwin:$PATH
texlua tfpbuild.lua check
- name: Test texfindpkg query
run: |
export PATH=/usr/local/texlive/${{env.TLRelease}}/bin/universal-darwin:$PATH
export PATH=/usr/local/texlive/bin/universal-darwin:$PATH
texlua texfindpkg.lua query array.sty
echo --------------------------------
texlua texfindpkg.lua query \\fakeverb
Expand All @@ -106,7 +105,7 @@ jobs:
texlua texfindpkg.lua query {foobar}
- name: Test texfindpkg install
run: |
export PATH=/usr/local/texlive/${{env.TLRelease}}/bin/universal-darwin:$PATH
export PATH=/usr/local/texlive/bin/universal-darwin:$PATH
texlua texfindpkg.lua install array.sty
echo --------------------------------
texlua texfindpkg.lua install \\fakeverb
Expand All @@ -126,20 +125,20 @@ jobs:
- uses: actions/checkout@v3
- name: Install TeX Live
run: |
${env:PATH} = "C:\texlive\${{env.TLRelease}}\bin\windows;" + ${env:PATH}
${env:PATH} = "C:\texlive\bin\windows;" + ${env:PATH}
Invoke-WebRequest -Uri ${{env.TLCurrent}}/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 --repository=${{env.TLCurrent}}
.\install-tl-windows --no-gui --profile ..\.github\workflows\texlive.profile --repository ${{env.TLCurrent}} --texdir C:\texlive
tlmgr install lualibs luatex
tlmgr update --self --all --no-auto-install --repository=${{env.TLCurrent}}
- name: Run tfpbuild
run: |
${env:PATH} = "C:\texlive\${{env.TLRelease}}\bin\windows;" + ${env:PATH}
${env:PATH} = "C:\texlive\bin\windows;" + ${env:PATH}
texlua tfpbuild.lua check
- name: Test texfindpkg query
run: |
${env:PATH} = "C:\texlive\${{env.TLRelease}}\bin\windows;" + ${env:PATH}
${env:PATH} = "C:\texlive\bin\windows;" + ${env:PATH}
texlua texfindpkg.lua query array.sty
echo --------------------------------
texlua texfindpkg.lua query \fakeverb
Expand All @@ -155,7 +154,7 @@ jobs:
texlua texfindpkg.lua query `{foobar`}
- name: Test texfindpkg install
run: |
${env:PATH} = "C:\texlive\${{env.TLRelease}}\bin\windows;" + ${env:PATH}
${env:PATH} = "C:\texlive\bin\windows;" + ${env:PATH}
texlua texfindpkg.lua install array.sty
echo --------------------------------
texlua texfindpkg.lua install \fakeverb
Expand Down

0 comments on commit 6993199

Please sign in to comment.