From 25ef63fb2eb219d0d2a3e25a349328bebeb7c5c1 Mon Sep 17 00:00:00 2001 From: Michael Ummels Date: Sat, 14 Feb 2026 12:28:42 +0100 Subject: [PATCH] ci: Install TexLive through GitHub action --- .github/tl_packages | 16 ++++++++++++++++ .github/workflows/ci.yml | 12 ++++++++---- .github/workflows/release.yml | 6 ++++-- build.lua | 2 +- 4 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 .github/tl_packages diff --git a/.github/tl_packages b/.github/tl_packages new file mode 100644 index 0000000..c4e912a --- /dev/null +++ b/.github/tl_packages @@ -0,0 +1,16 @@ +alphalph +cantarell +csquotes +collection-basic +collection-latex +collection-latexrecommended +enumitem +fontaxes +fontspec +hypdoc +inconsolata +l3build +palatino +tabfigures +tocbibind +upquote diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09d081e..736b99c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,11 +18,13 @@ permissions: jobs: check: runs-on: ubuntu-latest - container: - image: registry.gitlab.com/islandoftex/images/texlive:latest steps: - name: Checkout repository uses: actions/checkout@v6 + - name: Install TeX Live + uses: zauguin/install-texlive@v4 + with: + package_file: .github/tl_packages - name: Run checks run: l3build check --show-log-on-error -q -H - name: Archive failed test output @@ -35,13 +37,15 @@ jobs: build-docs: needs: check runs-on: ubuntu-latest - container: - image: registry.gitlab.com/islandoftex/images/texlive:latest steps: - name: Checkout repository uses: actions/checkout@v6 - name: Setup Pages uses: actions/configure-pages@v5 + - name: Install TeX Live + uses: zauguin/install-texlive@v4 + with: + package_file: .github/tl_packages - name: Build documentation run: l3build doc - name: Move documentation diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d26cc3f..8bddad1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,11 +11,13 @@ permissions: jobs: release: runs-on: ubuntu-latest - container: - image: registry.gitlab.com/islandoftex/images/texlive:latest steps: - name: Checkout uses: actions/checkout@v6 + - name: Install TeX Live + uses: zauguin/install-texlive@v4 + with: + package_file: .github/tl_packages - name: Build run: l3build ctan - name: Release diff --git a/build.lua b/build.lua index c93be14..3949382 100644 --- a/build.lua +++ b/build.lua @@ -2,6 +2,6 @@ module = "figureversions" -checkengines = {"pdftex", "luatex"} +checkengines = {"pdftex"} checkconfigs = {"build", "config-fontspec"} ctanreadme = "README-CTAN.md"