-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1100 from hmenke/l3build
Adapt the repo to new l3build infrastructure
- Loading branch information
Showing
24 changed files
with
3,584 additions
and
7,839 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
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,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 |
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,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 |
Oops, something went wrong.