[latex3-commits] [git/LaTeX3-latex3-latex2e] ghactions: Add GitHub Actions Workflow (0018a50c)

Marcel Fabian Krüger tex at 2krueger.de
Fri Jul 23 21:54:51 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : ghactions
Link       : https://github.com/latex3/latex2e/commit/0018a50c2e13aadbaff099f817399e5dad023c69

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

commit 0018a50c2e13aadbaff099f817399e5dad023c69
Author: Marcel Fabian Krüger <tex at 2krueger.de>
Date:   Fri Jul 23 21:54:51 2021 +0200

    Add GitHub Actions Workflow


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

0018a50c2e13aadbaff099f817399e5dad023c69
 .github/workflows/main.yaml | 157 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 157 insertions(+)

diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
new file mode 100644
index 00000000..8a2608e2
--- /dev/null
+++ b/.github/workflows/main.yaml
@@ -0,0 +1,157 @@
+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
+            artifact_path: build/test*
+            name: "Test suite: base"
+          - l3build_cmd: cd required && l3build check -q --show-log-on-error
+            artifact_name: testfiles-required
+            artifact_path: build/test*
+            name: "Test suite: required"
+          - l3build_cmd: l3build doc -q -H --show-log-on-error
+            artifact_name: documentation
+            artifact_path: build/doc/*.pdf
+            name: "Documentation"
+    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 test output
+        uses: actions/upload-artifact at v2
+        with:
+          name: ${{ matrix.artifact_name }}
+          path: ${{ matrix.artifact_path }}
+          retention-days: 1





More information about the latex3-commits mailing list.