feat: Complete the translation of Appendix C.3 (#45) #135
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
name: Build | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
env: | |
CTAN_URL: https://mirrors.rit.edu/CTAN | |
TL_PACKAGES: amscls amsmath anyfontsize blkarray booktabs braket caption chemformula ctex endnotes enumitem fancyhdr float graphics hyperref latexmk luatex85 l3packages mathtools metafont multirow needspace newfloat pgfplots scalerel siunitx stackengine threeparttable tools ulem xcolor xecjk xfrac | |
TL_FONT_PCK: boondox fandol libertinus-fonts mathalpha psnfss collection-fontsrecommended | |
jobs: | |
build-on-ubuntu: | |
runs-on: ubuntu-latest | |
if: "!startsWith(github.ref, 'refs/tags/v')" | |
env: | |
SET_PATH: | | |
export PATH=/tmp/texlive/bin/x86_64-linux:$PATH | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v2 | |
- name: Install TeX Live | |
run: | | |
${{ env.SET_PATH }} | |
wget ${{ env.CTAN_URL }}/systems/texlive/tlnet/install-tl-unx.tar.gz | |
tar -xzf install-tl-unx.tar.gz | |
cd install-tl-20* && ./install-tl --profile ../.github/workflows/texlive.profile | |
tlmgr install ${{ env.TL_PACKAGES }} ${{ env.TL_FONT_PCK }} | |
tlmgr update --self --all --no-auto-install --repository=${{ env.CTAN_URL }}/systems/texlive/tlnet/ | |
- name: Compile test file | |
run: | | |
${{ env.SET_PATH }} | |
make | |
- name: Upload PDF | |
uses: actions/upload-artifact@v2 | |
with: | |
name: generated-pdf | |
path: | |