Skip to content

Commit fa41dd7

Browse files
committed
Add initial GH Actions setup
1 parent 143a8dd commit fa41dd7

File tree

4 files changed

+117
-0
lines changed

4 files changed

+117
-0
lines changed

.github/tl_packages

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
l3build latex latex-bin luatex
2+
cm etex knuth-lib tex tex-ini-files unicode-data
3+
graphics xcolor luacolor
4+
makeindex
5+
tools iftex infwarerr kvoptions epstopdf-pkg amsfonts
6+
csquotes hypdoc framed metalogo tikzducks pict2e hyperref pgf

.github/workflows/check.yaml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Test suite
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
pull_request:
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-22.04
12+
name: Test suite
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
- name: Install TeX Live
17+
uses: zauguin/install-texlive@v3
18+
with:
19+
package_file: .github/tl_packages
20+
- name: Run l3build
21+
run: l3build check --show-log-on-error -q -H
22+
- name: Archive failed test output
23+
if: ${{ always() }}
24+
uses: zauguin/l3build-failure-artifacts@v1
25+
with:
26+
name: testfiles
27+
docs:
28+
runs-on: ubuntu-22.04
29+
name: Documentation
30+
steps:
31+
- name: Checkout repository
32+
uses: actions/checkout@v4
33+
- name: Install TeX Live
34+
uses: zauguin/install-texlive@v3
35+
with:
36+
package_file: .github/tl_packages
37+
- name: Run l3build
38+
run: l3build doc -q -H
39+
- name: Archive documentation
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: Documentation
43+
path: "**/*.pdf"

.github/workflows/release.yaml

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags: "*"
6+
7+
jobs:
8+
l3build:
9+
runs-on: ubuntu-22.04
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
- name: Install TeX Live
14+
uses: zauguin/install-texlive@v3
15+
with:
16+
package_file: .github/install-texlive@v3
17+
- name: Run l3build
18+
run: l3build ctan --show-log-on-error -H
19+
- name: Upload package artifact
20+
uses: actions/upload-artifact@v4
21+
with:
22+
name: Package
23+
path: "build/distrib/ctan/*.zip"
24+
25+
github:
26+
runs-on: ubuntu-22.04
27+
needs:
28+
- l3build
29+
steps:
30+
- name: Download package artifact
31+
uses: actions/download-artifact@v4
32+
with:
33+
name: Package
34+
- name: Create GitHub release
35+
uses: ncipollo/release-action@2c591bcc8ecdcd2db72b97d6147f871fcd833ba5
36+
with:
37+
artifacts: "build/distrib/ctan/*.zip"
38+
token: ${{ secrets.GITHUB_TOKEN }}
39+
40+
ctan-validate:
41+
runs-on: ubuntu-22.04
42+
needs:
43+
- l3build
44+
steps:
45+
- name: Download package artifact
46+
uses: actions/download-artifact@v4
47+
with:
48+
name: Package
49+
- name: Upload CTAN package
50+
uses: zauguin/[email protected]
51+
with:
52+
repo-token: ${{ secrets.GITHUB_TOKEN }}
53+
package-name: lua-ul
54+
version: ${{ github.ref_name }}
55+
author: Marcel Krüger
56+
uploader: Dummy Name
57+
58+
license: lppl1.3c
59+
summary: Underlining for LuaLaTeX
60+
ctan-path: /macros/luatex/latex/lua-ul
61+
update: true
62+
topics: [underline, luatex]
63+
description: |
64+
This package provides underlining, strikethough, and highlighting using features in LuaLaTeX which avoid the restrictions imposed by other methods. In particular, kerning is not affected, the underlined text can use arbitrary commands, hyphenation works etc.
65+
66+
The package requires LuaTeX version ≥ 1.12.0.
67+
filename: build/distrib/ctan/lua-ul.zip
68+
dry-run: true

testfiles/.gitkeep

Whitespace-only changes.

0 commit comments

Comments
 (0)