Skip to content

Commit

Permalink
add draft github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
cfr42 committed Oct 28, 2024
1 parent a3f712a commit 8f21a66
Show file tree
Hide file tree
Showing 3 changed files with 291 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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"
224 changes: 224 additions & 0 deletions .github/tl_packages
Original file line number Diff line number Diff line change
@@ -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
54 changes: 54 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8f21a66

Please sign in to comment.