diff --git a/.github/tl_packages b/.github/tl_packages new file mode 100644 index 0000000..4556a11 --- /dev/null +++ b/.github/tl_packages @@ -0,0 +1,92 @@ +# The test framework itself +l3build +# +# Required to build plain and LaTeX formats +latex-bin +luahbtex +tex +# +# Then get the rest of required LaTeX +amsmath +tools +# +# Assuming a 'basic' font set up, metafont is required to avoid +# warnings with some packages and errors with others +metafont +mfware +# +# Dependencies for tests that are not auto-resolved +bibtex +biblatex +biber +ctablestack +lualatex-math +luatexbase +lua-widow-control +microtype +selnolig +# +# For the doc target +adjustbox +alphalph +amsfonts +anonymouspro +babel +babel-english +babel-german +bookmark +booktabs +caption +catchfile +cleveref +colortbl +csquotes +dantelogo +dvips +ec +enumitem +epstopdf +epstopdf-pkg +etoolbox +everysel +fancyvrb +fetamont +fira +fontspec +framed +fvextra +graphics +hologo +hvfloat +hvlogos +hypdoc +hyperref +ifoddpage +inconsolata +libertine +libertinus +libertinus-fonts +libertinus-type1 +libertinus-otf +lineno +listings +makeindex +marginnote +mathpazo +metalogo +multido +oberdiek +pgf +picture +psnfss +ragged2e +siunitx +sttools +times +underscore +unicode-math +units +upquote +varwidth +xcolor +xits \ No newline at end of file diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..430d80f --- /dev/null +++ b/.github/workflows/main.yaml @@ -0,0 +1,25 @@ +name: Automated testing + +on: + push: + pull_request: + branches: + - main + +jobs: + l3build: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Install TeX Live + uses: zauguin/install-texlive@v2 + with: + # List the required TeX Live packages in a separate file to allow + # reuse in different workflows. + package_file: .github/tl_packages + + - name: Run l3build + run: l3build ctan -q -H \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..5b1634e --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,34 @@ +name: Create release + +on: + push: + tags: + - "*" + +jobs: + release: + runs-on: ubuntu-latest + name: Build release + environment: Release + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + with: + submodules: recursive + + - name: Install TeX Live + uses: zauguin/install-texlive@v2 + with: + # List the required TeX Live packages in a separate file to allow + # reuse in different workflows. + package_file: .github/tl_packages + + - name: Run l3build + run: l3build ctan -q -H + + - name: Create GitHub release + uses: ncipollo/release-action@a2e71bdd4e7dab70ca26a852f29600c98b33153e # v1.12.0 + id: release + with: + artifacts: "build/distrib/ctan/*.zip" \ No newline at end of file