[latex3-commits] [git/LaTeX3-latex3-latex2e] ghactions: Add GitHub Actions Workflow (3dd26355)
Marcel Fabian Krüger
tex at 2krueger.de
Fri Jul 23 22:37:01 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : ghactions
Link : https://github.com/latex3/latex2e/commit/3dd263553c9b01e89b7613d429058fed50cdb6c2
>---------------------------------------------------------------
commit 3dd263553c9b01e89b7613d429058fed50cdb6c2
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date: Fri Jul 23 21:54:51 2021 +0200
Add GitHub Actions Workflow
>---------------------------------------------------------------
3dd263553c9b01e89b7613d429058fed50cdb6c2
.github/workflows/main.yaml | 159 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 159 insertions(+)
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
new file mode 100644
index 00000000..1f91bcd5
--- /dev/null
+++ b/.github/workflows/main.yaml
@@ -0,0 +1,159 @@
+name: Automated testing
+on:
+ push:
+
+jobs:
+ l3build:
+ runs-on: ubuntu-20.04
+ strategy:
+ matrix:
+ include:
+ - l3build_cmd: cd base && l3build check -q --show-log-on-error
+ artifact_name: testfiles-base
+ - l3build_cmd: cd required && l3build check -q --show-log-on-error
+ artifact_name: testfiles-required
+ - l3build_cmd: l3build doc -q -H --show-log-on-error
+ artifact_name: Documentation
+ artifact_path: build/doc/*.pdf
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout at v2
+ - name: Generate unique ID
+ id: get-id
+ run: |
+ echo -n ::set-output name=id::
+ cat /proc/sys/kernel/random/uuid
+ - name: Load cache
+ uses: actions/cache at v2
+ with:
+ path: ~/texlive
+ key: texlive-v0-${{ steps.get-id.outputs.id }}
+ restore-keys: texlive-v0-
+ - run: sudo apt-get install ghostscript
+ - name: Install TeX Live
+ uses: zauguin/install-texlive at v1
+ with:
+ packages: |
+ # Needed for any use of texlua even if not testing LuaTeX
+ luatex
+ #
+ # The test framework itself
+ l3build
+ #
+ # Required to build plain and LaTeX formats:
+ # TeX90 plain for unpacking, pdfLaTeX, LuaLaTeX and XeTeX for tests
+ cm
+ etex
+ knuth-lib
+ latex-bin
+ luahbtex
+ tex
+ tex-ini-files
+ unicode-data
+ xetex
+ #
+ # Assuming a 'basic' font set up, metafont is required to avoid
+ # warnings with some packages and errors with others
+ metafont
+ mfware
+ texlive-scripts
+ #
+ # Contrib packages
+ amsfonts
+ ec
+ fontspec
+ hyperref
+ iftex
+ kvoptions
+ oberdiek
+ pdftexcmds
+ lh
+ lualibs
+ luaotfload
+ tex-gyre
+ stringenc
+ url
+ #
+ # special testing for firstaid
+ bidi
+ bigfoot
+ ncctools
+ dinbrief
+ everyshi
+ filehook
+ pgf
+ pgfmorepages
+ ulem
+ varwidth
+ #
+ # Additional support for typesetting
+ alphalph
+ amscls
+ atbegshi
+ atveryend
+ auxhook
+ babel-german
+ bigintcalc
+ bitset
+ bookmark
+ booktabs
+ cbfonts
+ cm-super
+ colortbl
+ csquotes
+ dvips
+ enumitem
+ epstopdf
+ epstopdf-pkg
+ etexcmds
+ etoolbox
+ fancyvrb
+ fc
+ geometry
+ gettitlestring
+ graphics-def
+ helvetic
+ hologo
+ hycolor
+ imakeidx
+ infwarerr
+ intcalc
+ kvdefinekeys
+ kvoptions
+ kvsetkeys
+ letltxmacro
+ ltxcmds
+ ly1
+ makeindex
+ mflogo
+ palatino
+ pdfescape
+ pl
+ psnfss
+ refcount
+ rerunfilecheck
+ sauter
+ times
+ titlesec
+ underscore
+ uniquecounter
+ vntex
+ wasy
+ wsuipa
+ xkeyval
+ zref
+ - name: Run l3build
+ run: ${{ matrix.l3build_cmd }}
+ - name: Archive failed test output
+ if: ${{ matrix.artifact_name != 'Documentation' && failure() }}
+ uses: actions/upload-artifact at v2
+ with:
+ name: ${{ matrix.artifact_name }}
+ path: build/test*
+ retention-days: 1
+ - name: Archive documentation
+ if: ${{ matrix.artifact_name == 'Documentation' && success() }}
+ uses: actions/upload-artifact at v2
+ with:
+ name: ${{ matrix.artifact_name }}
+ path: "**/*.pdf"
More information about the latex3-commits
mailing list.