Skip to content

Commit

Permalink
Merge pull request #1100 from hmenke/l3build
Browse files Browse the repository at this point in the history
Adapt the repo to new l3build infrastructure
  • Loading branch information
hmenke authored Dec 18, 2021
2 parents 065c015 + 99cd9eb commit cefe1dc
Show file tree
Hide file tree
Showing 24 changed files with 3,584 additions and 7,839 deletions.
6 changes: 4 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<!-- Thank you for contributing to PGF/TikZ! Now that you are becoming a
contributor, please also subscribe to the mailing list at
https://tug.org/mailman/listinfo/pgf-tikz where we coordinate larger
changes and rebases. -->
https://tug.org/mailman/listinfo/pgf-tikz and our chat on the
Matrix network https://matrix.to/#/#pgf-tikz:matrix.org -->

**Motivation for this change**

<!-- If this fixes an issue, add “Fixes #<issue number>” here. -->

**Checklist**

<!-- If your contribution does more than fixing a typo, please add an entry to doc/generic/pgf/CHANGELOG.md -->

Please [signoff your commits][git-s] to explicitly state your agreement to the [Developer Certificate of Origin][DCO]. If that is not possible you may check the boxes below instead:

- [ ] Code changes are licensed under [GPLv2][GPL] + [LPPLv1.3c][LPPL]
Expand Down
27 changes: 27 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test suite

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/islandoftex/images/texlive:latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Generate the revision file
run: |
export tagname=$(git describe --abbrev=0 --tags)
export revision=$(git describe --tags)
export tagdate=$(git log -n 1 "$tagname" --pretty=format:%cs)
export revisiondate=$(git log -n 1 "$revision" --pretty=format:%cs)
l3build tag --date "$tagdate" "$tagname"
cat tex/generic/pgf/pgf.revision.tex
- name: Run test suite
run: |
l3build check -q --show-log-on-error
41 changes: 41 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Manual

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/islandoftex/images/texlive:latest

steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Generate the revision file
run: |
export tagname=$(git describe --abbrev=0 --tags)
export revision=$(git describe --tags)
export tagdate=$(git log -n 1 "$tagname" --pretty=format:%cs)
export revisiondate=$(git log -n 1 "$revision" --pretty=format:%cs)
l3build tag --date "$tagdate" "$tagname"
cat tex/generic/pgf/pgf.revision.tex
- name: Build the manual
run: |
l3build doc -q
- uses: actions/upload-artifact@v2
with:
name: pgfmanual
path: build/doc/pgfmanual.pdf

- name: Deploy tlcontrib
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
apt-get update -qq
apt-get install -qq libxml-parser-perl libxml-xpath-perl libtext-unidecode-perl tree
cp build/doc/pgfmanual.pdf ../
bash ci/update_tlcontrib.sh
Loading

0 comments on commit cefe1dc

Please sign in to comment.