[latex3-commits] [git/LaTeX3-latex3-latex3] gh-release: Move TL packages for GH Actions to separate file (877caba4a)

Marcel Fabian Krüger tex at 2krueger.de
Wed Aug 11 03:43:31 CEST 2021


Repository : https://github.com/latex3/latex3
On branch  : gh-release
Link       : https://github.com/latex3/latex3/commit/877caba4a5f373b5405e396aadab56eef29de4b8

>---------------------------------------------------------------

commit 877caba4a5f373b5405e396aadab56eef29de4b8
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Tue Aug 10 16:02:59 2021 +0200

    Move TL packages for GH Actions to separate file


>---------------------------------------------------------------

877caba4a5f373b5405e396aadab56eef29de4b8
 .github/tl_packages         | 54 ++++++++++++++++++++++++++++++++++++++
 .github/workflows/main.yaml | 63 +++------------------------------------------
 2 files changed, 57 insertions(+), 60 deletions(-)

diff --git a/.github/tl_packages b/.github/tl_packages
new file mode 100644
index 000000000..1c64e5094
--- /dev/null
+++ b/.github/tl_packages
@@ -0,0 +1,54 @@
+# The test framework itself
+l3build
+#
+# Required to build plain and LaTeX formats including (u)pLaTeX
+latex-bin
+luahbtex
+platex
+uplatex
+tex
+xetex
+#
+# Then get the rest of required LaTeX
+amsmath
+tools
+#
+# Assuming a 'basic' font set up, metafont is required to avoid
+# warnings with some packages and errors with others
+metafont
+mfware
+#
+# Dependencies for tests that are not auto-resolved
+bibtex
+lualatex-math
+#
+# For the doc target and testing l3doc
+alphalph
+amsfonts
+bookmark
+booktabs
+catchfile
+colortbl
+csquotes
+dvips
+ec
+enumitem
+epstopdf
+epstopdf-pkg
+everysel
+fancyvrb
+hologo
+hyperref
+lipsum
+listings
+makeindex
+mathpazo
+metalogo
+oberdiek
+pgf
+psnfss
+ragged2e
+siunitx
+times
+underscore
+units
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 0a4c15462..0dcee6d1e 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -62,66 +62,9 @@ jobs:
       - name: Install TeX Live
         uses: zauguin/install-texlive at v1
         with:
-          # The following list can be altered to change which TeX Live packages to install.
-          # (Technically no YAML comments can appear in there but all lines starting with #
-          # get removed)
-          # There is no technical reason to list every package on a new line, this is only
-          # done for readablity and diff-friendliness.
-          packages: |
-            # The test framework itself
-            l3build
-            #
-            # Required to build plain and LaTeX formats including (u)pLaTeX
-            latex-bin
-            luahbtex
-            platex
-            uplatex
-            tex
-            xetex
-            #
-            # Then get the rest of required LaTeX
-            amsmath
-            tools
-            #
-            # Assuming a 'basic' font set up, metafont is required to avoid
-            # warnings with some packages and errors with others
-            metafont
-            mfware
-            #
-            # Dependencies for tests that are not auto-resolved
-            bibtex
-            lualatex-math
-            #
-            # For the doc target and testing l3doc
-            alphalph
-            amsfonts
-            bookmark
-            booktabs
-            catchfile
-            colortbl
-            csquotes
-            dvips
-            ec
-            enumitem
-            epstopdf
-            epstopdf-pkg
-            everysel
-            fancyvrb
-            hologo
-            hyperref
-            lipsum
-            listings
-            makeindex
-            mathpazo
-            metalogo
-            oberdiek
-            pgf
-            psnfss
-            ragged2e
-            siunitx
-            times
-            underscore
-            units
+          # List the required TeX Live packages in a separate file to allow reuse in
+          # different workflows.
+          package_file: .github/tl_packages
       - name: Run l3build
         run: ${{ matrix.l3build_cmd }}
       # Now we create the artifacts: There are two cases where this happens.





More information about the latex3-commits mailing list.