From 8f21a668db320d90810a3c8358956d2d0fff3312 Mon Sep 17 00:00:00 2001 From: "Clea F. Rees" Date: Mon, 28 Oct 2024 06:31:09 +0000 Subject: [PATCH] add draft github actions --- .github/dependabot.yml | 13 +++ .github/tl_packages | 224 +++++++++++++++++++++++++++++++++++++ .github/workflows/main.yml | 54 +++++++++ 3 files changed, 291 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/tl_packages create mode 100644 .github/workflows/main.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..468fb4d --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,13 @@ +# https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/dependabot.yml + +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" # See documentation for possible values + directory: "/" # Location of package manifests + schedule: + interval: "weekly" diff --git a/.github/tl_packages b/.github/tl_packages new file mode 100644 index 0000000..e828171 --- /dev/null +++ b/.github/tl_packages @@ -0,0 +1,224 @@ +# https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/tl_packages +# The test framework itself +l3build + +# this collection looks ok +collection-basic + +# from collection latex: + amsmath + atbegshi + babel + babel-english + bigintcalc + bookmark + carlisle + colortbl + epstopdf-pkg + etexcmds + fancyhdr + firstaid + geometry + gettitlestring + graphics + graphics-cfg + hopatch + hycolor + hyperref + intcalc + kvdefinekeys + kvoptions + kvsetkeys + l3backend + l3kernel + l3packages + latex + latex-bin + latex-fonts + latex-lab + latexconfig + letltxmacro + ltxcmds + mfnfss + mptopdf + natbib + oberdiek + pdfescape + refcount + rerunfilecheck + stringenc + tagpdf + tools + uniquecounter + url + +# From collection-latexextra + accsupp + acro + adjustbox + attachfile + # bearwear + # blindtext + cleveref + csquotes + doclicense + # duckuments + embedfile + enumitem + etoc + filecontents + fonttable + getfiledate + hobsub + hvlogos + hypdoc + intopdf + kantlipsum + lastpage + latex-amsmath-dev + latex-base-dev + latex-bin-dev + latex-context-ppchtex + latex-firstaid-dev + latex-graphics-dev + latex-lab-dev + latex-tools-dev + # lipsum + listing + listingsutf8 + lua-check-hyphen + marginnote + mleftright + mlist + mmap + mwe + pdfcolmk + # scrlayer-fancyhdr + # scrwfile + # tabularray + transparent + varwidth + xpatch + zref + +# from collection-luatex + ctablestack + lua-ul + lua-uni-algos + luacode + luacolor + lualibs + luamplib + luaotfload + luatex85 + luatexbase + newpax + +# from collection xetex + realscripts + xelatex-dev + xetex + xetexconfig + +# from collection-langgerman + babel-german + dehyph + dehyph-exptl + hyphen-german + +# from collection-latexrecommended + attachfile2 + beamer + booktabs + caption + etoolbox + float + fontspec + hologo + index + infwarerr + # koma-script + l3experimental + latexbug + lineno + listings + mathtools + # memoir + microtype + parskip + pdfcolfoot + pdflscape + pdfmanagement-testphase + pdfpages + pdftexcmds + ragged2e + setspace + textcase + translator + unicode-math + xcolor + xkeyval + +# other +pgf +marginnote +tikzducks +tikzlings +catchfile +babel-latin +hyphen-latin +sourcesanspro +psnfss +tex-gyre +hyperxmp +# tugboat +babel-greek +babel-spanish +# times +ntheorem +babel-dutch +hyphen-greek +greek-fontenc +greek-inputenc +hyphen-ancientgreek +# cbfonts-fd +# cbfonts + +# fonts +amsfonts +cm-super + +# ychwanegol + +babel-welsh +hyphen-welsh + +bookmark +parskip +svn-prov +xcolor +xurl +threeparttable +threeparttablex +fancyhdr +fancyref +fixfoot +caption +multirow +changepage +metalogo + + +pgf +nfssext-cfr +cfr-lm +biblatex +doctools +ebproof +forest +memoize +placeins +tcolorbox +titling +turnstile +etoolbox-generic diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..5d119bd --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,54 @@ +# This is a basic workflow to help you get started with Actions + +# https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/workflows/main.yaml +# https://github.com/josephwright/siunitx/blob/main/.github/workflows/main.yaml + +name: Automatic Checks + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "main" branch + push: + branches: + - "*" + pull_request: + branches: + - "*" + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "l3build" + l3build-ctan: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + # https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml + # We need Ghostscript for XeTeX tests. + - run: sudo apt-get update && sudo apt-get install ghostscript + - name: Install TeX Live + uses: zauguin/install-texlive@v3 + with: + # List the required TeX Live packages in a separate file to allow reuse in + # different workflows. + package_file: .github/tl_packages + - name: Remove environmental restrictions + run: sed -i '/^os\.setenv /d' $(find . -name "*.lua") + - name: Run l3build + run: for i in nfssext-cfr cfr-lm fontscripts arkandis/adforn arkandis/adfsymb arkandis/baskervaldadf arkandis/berenisadf arkandis/electrumadf arkandis/librisadf arkandis/romandeadf arkandis/venturisadf ; do (cd $i && l3build ctan) ; done + # https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/workflows/main.yaml + - name: Archive failed test output + # what does this do exactly? + if: ${{ always() }} + uses: zauguin/l3build-failure-artifacts@v1 + with: + name: testfiles-nfssext + # Decide how long to keep the test output artifact: + # retention-days: 3