From 2849c988436d6d358c584a3400430e2d1360a11a Mon Sep 17 00:00:00 2001 From: cfr42 Date: Mon, 28 Oct 2024 03:16:33 +0000 Subject: [PATCH 1/2] merge workflows from main (#3) * Create main.yml if it works it gets deleted?!?? * Create tl_packages because something deleted everything ??!! * Update tl_packages * Update tl_packages * Update tl_packages comment everything except UF's package list so this *should* generate the formats and fail to build the docs ... * Update tl_packages hopefully should still fail on docs ... * Update main.yml * Update tl_packages try adding things back and hope it still breaks on l3build ... * Update main.yml (rm env restrictions) * Update tl_packages try removing hopefully unneeded things * add code to hopefully get failure logs main.yml shamelessly copied from Ulrike Fischer ... * Create dependabot.yml shamelessly copy Joseph Wright's file wholesale --- .github/dependabot.yml | 13 +++ .github/tl_packages | 203 +++++++++++++++++++++++++++++++++++++ .github/workflows/main.yml | 54 ++++++++++ 3 files changed, 270 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..7c0f768 --- /dev/null +++ b/.github/tl_packages @@ -0,0 +1,203 @@ +# 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 + +nfssext-cfr +cfr-lm + +bookmark +parskip +svn-prov +xcolor +xurl diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..9a4b2c8 --- /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' build.lua + - name: Run l3build + run: l3build ctan + # 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-fillwith + # Decide how long to keep the test output artifact: + # retention-days: 3 From 06d3bb9fef9ca8f689a93a445fdcdf28f0424b34 Mon Sep 17 00:00:00 2001 From: "Clea F. Rees" Date: Tue, 29 Oct 2024 06:20:36 +0000 Subject: [PATCH 2/2] add auto-check indicator thingy from github --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f7f1922..2a0bd09 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -$Id: README.md 10215 2024-08-09 11:12:21Z cfrees $ +$Id: README.md 10542 2024-10-29 06:20:16Z cfrees $ + +[![CI](https://github.com/cfr42/fillwith/actions/workflows/profi.yml/badge.svg)](https://github.com/cfr42/fillwith/actions/workflows/profi.yml) # fillwith