Skip to content

Commit

Permalink
merge workflows from main (#3)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
cfr42 authored Oct 28, 2024
1 parent 4f61b08 commit 2849c98
Show file tree
Hide file tree
Showing 3 changed files with 270 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"
203 changes: 203 additions & 0 deletions .github/tl_packages
Original file line number Diff line number Diff line change
@@ -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
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' 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

0 comments on commit 2849c98

Please sign in to comment.