forked from pgf-tikz/pgf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Henri Menke <henri@henrimenke.de>
- Loading branch information
Showing
3 changed files
with
233 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
name: Test suite | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
/tmp/texlive | ||
/tmp/tlpkg | ||
~/.texlive | ||
key: texlive-2021 | ||
|
||
- name: Set up TeX Live environment | ||
uses: pgf-tikz/actions/install-tl@master | ||
with: | ||
packages: | ||
amsfonts | ||
amsmath | ||
atbegshi | ||
atveryend | ||
bigintcalc | ||
bitset | ||
colortbl | ||
courier | ||
ctablestack | ||
dvipdfmx | ||
dvips | ||
dvisvgm | ||
ec | ||
epstopdf-pkg | ||
etexcmds | ||
fp | ||
geometry | ||
gettitlestring | ||
graphics | ||
graphics-def | ||
hycolor | ||
hyperref | ||
iftex | ||
imakeidx | ||
intcalc | ||
kvdefinekeys | ||
kvoptions | ||
kvsetkeys | ||
l3build | ||
latex | ||
latex-bin | ||
letltxmacro | ||
listings | ||
lm | ||
ltxcmds | ||
luainputenc | ||
luaotfload | ||
luatex | ||
luatexbase | ||
luaxml | ||
make4ht | ||
makeindex | ||
metafont | ||
mfware | ||
ms | ||
oberdiek | ||
pdfescape | ||
pdftexcmds | ||
psnfss | ||
refcount | ||
rerunfilecheck | ||
stringenc | ||
symbol | ||
tex4ht | ||
texlive-scripts | ||
times | ||
todonotes | ||
tools | ||
uniquecounter | ||
url | ||
xcolor | ||
xetex | ||
xkeyval | ||
zapfding | ||
|
||
- name: Install PGF | ||
run: | | ||
tlmgr init-usertree --usertree $PWD | ||
echo "TEXMFHOME=$PWD" >> $GITHUB_ENV | ||
- name: Generate the revision file | ||
run: | | ||
l3build revisionfile | ||
cat tex/generic/pgf/pgf.revision.tex | ||
echo "GIT_TAG=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV | ||
- name: Run test suite | ||
run: | | ||
l3build check -q -H --show-log-on-error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
name: Manual | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: | | ||
/tmp/texlive | ||
/tmp/tlpkg | ||
~/.texlive | ||
key: texlive-2021 | ||
|
||
- name: Set up TeX Live environment | ||
uses: pgf-tikz/actions/install-tl@master | ||
with: | ||
packages: | ||
amsfonts | ||
amsmath | ||
atbegshi | ||
atveryend | ||
bigintcalc | ||
bitset | ||
colortbl | ||
courier | ||
ctablestack | ||
dvipdfmx | ||
dvips | ||
dvisvgm | ||
ec | ||
epstopdf-pkg | ||
etexcmds | ||
fp | ||
geometry | ||
gettitlestring | ||
graphics | ||
graphics-def | ||
hycolor | ||
hyperref | ||
iftex | ||
imakeidx | ||
intcalc | ||
kvdefinekeys | ||
kvoptions | ||
kvsetkeys | ||
l3build | ||
latex | ||
latex-bin | ||
letltxmacro | ||
listings | ||
lm | ||
ltxcmds | ||
luainputenc | ||
luaotfload | ||
luatex | ||
luatexbase | ||
luaxml | ||
make4ht | ||
makeindex | ||
metafont | ||
mfware | ||
ms | ||
oberdiek | ||
pdfescape | ||
pdftexcmds | ||
psnfss | ||
refcount | ||
rerunfilecheck | ||
stringenc | ||
symbol | ||
tex4ht | ||
texlive-scripts | ||
times | ||
todonotes | ||
tools | ||
uniquecounter | ||
url | ||
xcolor | ||
xetex | ||
xkeyval | ||
zapfding | ||
|
||
- name: Install PGF | ||
run: | | ||
tlmgr init-usertree --usertree $PWD | ||
echo "TEXMFHOME=$PWD" >> $GITHUB_ENV | ||
- name: Generate the revision file | ||
run: | | ||
l3build revisionfile | ||
cat tex/generic/pgf/pgf.revision.tex | ||
echo "GIT_TAG=$(git describe --abbrev=0 --tags)" >> $GITHUB_ENV | ||
- name: Build the manual | ||
run: | | ||
l3build doc -q -H | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: pgfmanual | ||
path: build/doc/pgfmanual.pdf | ||
|
||
- name: Deploy tlcontrib | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
sudo apt-get update -qq | ||
sudo apt-get install -qq libxml-parser-perl libxml-xpath-perl libtext-unidecode-perl tree | ||
cp build/doc/pgfmanual.pdf ../ | ||
bash ci/update_tlcontrib.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters