Skip to content

Commit

Permalink
Add initial GH Actions setup
Browse files Browse the repository at this point in the history
  • Loading branch information
zauguin committed Feb 26, 2024
1 parent 143a8dd commit 998d10f
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/tl_packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
l3build latex latex-bin luatex
cm etex knuth-lib tex tex-ini-files unicode-data
graphics xcolor luacolor
csquotes hypdoc framed metalogo tikzducks pict2e hyperred
43 changes: 43 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Test suite

on:
push:
branches:
- '*'
pull_request:

jobs:
tests:
runs-on: ubuntu-22.04
name: Test suite
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install TeX Live
uses: zauguin/install-texlive@v3
with:
package_file: .github/tl_packages
- name: Run l3build
run: l3build check --show-log-on-error -q -H
- name: Archive failed test output
if: ${{ always() }}
uses: zauguin/l3build-failure-artifacts@v1
with:
name: testfiles
docs:
runs-on: ubuntu-22.04
name: Documentation
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install TeX Live
uses: zauguin/install-texlive@v3
with:
package_file: .github/tl_packages
- name: Run l3build
run: l3build doc -q -H
- name: Archive documentation
uses: actions/upload-artifact@v4
with:
name: Documentation
path: "**/*.pdf"

0 comments on commit 998d10f

Please sign in to comment.