Repository navigation
添加undergraduate,job.yml #709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
81bc54d
8a30c44
8fdf6db
692aaf5
9d48a2b
64db759
02dc397
97261d7
ad3b80a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| name: Job latex CI/CD | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'job/undergraduate/**' | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| paths: | ||
| - 'job/undergraduate/**' | ||
|
|
||
| jobs: | ||
| work: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| ref: ${{ github.event.pull_request.head.sha }} | ||
| fetch-depth: 0 | ||
| - name: Compile job LaTeX document | ||
| uses: xu-cheng/latex-action@v3 | ||
| with: | ||
| working_directory: job/undergraduate | ||
| root_file: hutbthesis_main.tex | ||
| texlive_version: 2023 | ||
| latexmk_use_xelatex: true | ||
| pre_compile: | | ||
| apk add msttcorefonts-installer fontconfig | ||
| update-ms-fonts | ||
| fc-cache -f | ||
| - uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: job | ||
| path: | | ||
| job/undergraduate/hutbthesis_main.pdf |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # LaTeX 编译缓存 | ||
| *.aux | ||
| *.log | ||
| *.out | ||
| *.toc | ||
| *.lof | ||
| *.lot | ||
| *.bbl | ||
| *.blg | ||
| *.synctex.gz | ||
|
|
||
| # Python | ||
| __pycache__/ | ||
| *.pyc | ||
| venv/ | ||
| .venv/ | ||
|
|
||
| # VSCode | ||
| .vscode/ | ||
|
|
||
| # 系统文件 | ||
| Thumbs.db | ||
|
|
||
| # PyCharm(解决你 .idea 的问题) | ||
| **/.idea/ | ||
| *.iml |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
|
|
||
| name: Auto test | ||
|
|
||
| on: | ||
| push: | ||
| pull_request: | ||
| branches: | ||
| - master | ||
|
|
||
| jobs: | ||
| work: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| # github action 默认签出只包含最后一次提交 | ||
| # 解决方案参考:https://stackoverflow.com/questions/62334460/git-history-in-a-github-action | ||
| ref: ${{ github.event.pull_request.head.sha }} | ||
| fetch-depth: 0 | ||
|
|
||
| # 触发论文的 action | ||
| - name: Compile LaTeX document | ||
| uses: xu-cheng/latex-action@v3 | ||
| with: | ||
| working_directory: . | ||
| root_file: hutbthesis_main.tex | ||
| texlive_version: 2023 | ||
| latexmk_use_xelatex: true | ||
| # 下载安装Times New Roman字体 | ||
| pre_compile: | | ||
| apk add msttcorefonts-installer fontconfig | ||
| update-ms-fonts | ||
| fc-cache -f |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,246 @@ | ||
| ## Core latex/pdflatex auxiliary files: | ||
| *.aux | ||
| *.lof | ||
| *.log | ||
| *.lot | ||
| *.fls | ||
| *.out | ||
| *.toc | ||
| *.fmt | ||
| *.fot | ||
| *.cb | ||
| *.cb2 | ||
| .*.lb | ||
| clean.bat | ||
| elegant*-cn.pdf | ||
| elegant*-en.pdf | ||
| *.dates | ||
|
|
||
| ## Intermediate documents: | ||
| *.dvi | ||
| *.xdv | ||
| *-converted-to.* | ||
| # these rules might exclude image files for figures etc. | ||
| # *.ps | ||
| # *.eps | ||
|
|
||
| ## Generated if empty string is given at "Please type another file name for output:" | ||
|
|
||
| ## Bibliography auxiliary files (bibtex/biblatex/biber): | ||
| *.bbl | ||
| *.bcf | ||
| *.blg | ||
| *-blx.aux | ||
| *-blx.bib | ||
| *.run.xml | ||
|
|
||
| ## Build tool auxiliary files: | ||
| *.fdb_latexmk | ||
| *.synctex | ||
| *.synctex(busy) | ||
| *.synctex.gz | ||
| *.synctex.gz(busy) | ||
| *.pdfsync | ||
|
|
||
| ## Auxiliary and intermediate files from other packages: | ||
| # algorithms | ||
| *.alg | ||
| *.loa | ||
|
|
||
| # achemso | ||
| acs-*.bib | ||
|
|
||
| # amsthm | ||
| *.thm | ||
|
|
||
| # beamer | ||
| *.nav | ||
| *.pre | ||
| *.snm | ||
| *.vrb | ||
|
|
||
| # changes | ||
| *.soc | ||
|
|
||
| # cprotect | ||
| *.cpt | ||
|
|
||
| # elsarticle (documentclass of Elsevier journals) | ||
| *.spl | ||
|
|
||
| # endnotes | ||
| *.ent | ||
|
|
||
| # fixme | ||
| *.lox | ||
|
|
||
| # feynmf/feynmp | ||
| *.mf | ||
| *.mp | ||
| *.t[1-9] | ||
| *.t[1-9][0-9] | ||
| *.tfm | ||
|
|
||
| #(r)(e)ledmac/(r)(e)ledpar | ||
| *.end | ||
| *.?end | ||
| *.[1-9] | ||
| *.[1-9][0-9] | ||
| *.[1-9][0-9][0-9] | ||
| *.[1-9]R | ||
| *.[1-9][0-9]R | ||
| *.[1-9][0-9][0-9]R | ||
| *.eledsec[1-9] | ||
| *.eledsec[1-9]R | ||
| *.eledsec[1-9][0-9] | ||
| *.eledsec[1-9][0-9]R | ||
| *.eledsec[1-9][0-9][0-9] | ||
| *.eledsec[1-9][0-9][0-9]R | ||
|
|
||
| # glossaries | ||
| *.acn | ||
| *.acr | ||
| *.glg | ||
| *.glo | ||
| *.gls | ||
| *.glsdefs | ||
|
|
||
| # gnuplottex | ||
| *-gnuplottex-* | ||
|
|
||
| # gregoriotex | ||
| *.gaux | ||
| *.gtex | ||
|
|
||
| # htlatex | ||
| *.4ct | ||
| *.4tc | ||
| *.idv | ||
| *.lg | ||
| *.trc | ||
| *.xref | ||
|
|
||
| # hyperref | ||
| *.brf | ||
|
|
||
| # knitr | ||
| *-concordance.tex | ||
| # TODO Comment the next line if you want to keep your tikz graphics files | ||
| *.tikz | ||
| *-tikzDictionary | ||
|
|
||
| # listings | ||
| *.lol | ||
|
|
||
| # makeidx | ||
| *.idx | ||
| *.ilg | ||
| *.ind | ||
| *.ist | ||
|
|
||
| # minitoc | ||
| *.maf | ||
| *.mlf | ||
| *.mlt | ||
| *.mtc[0-9]* | ||
| *.slf[0-9]* | ||
| *.slt[0-9]* | ||
| *.stc[0-9]* | ||
|
|
||
| # minted | ||
| _minted* | ||
| *.pyg | ||
|
|
||
| # morewrites | ||
| *.mw | ||
|
|
||
| # nomencl | ||
| *.nlg | ||
| *.nlo | ||
| *.nls | ||
|
|
||
| # pax | ||
| *.pax | ||
|
|
||
| # pdfpcnotes | ||
| *.pdfpc | ||
|
|
||
| # sagetex | ||
| *.sagetex.sage | ||
| *.sagetex.py | ||
| *.sagetex.scmd | ||
|
|
||
| # scrwfile | ||
| *.wrt | ||
|
|
||
| # sympy | ||
| *.sout | ||
| *.sympy | ||
| sympy-plots-for-*.tex/ | ||
|
|
||
| # pdfcomment | ||
| *.upa | ||
| *.upb | ||
|
|
||
| # pythontex | ||
| *.pytxcode | ||
| pythontex-files-*/ | ||
|
|
||
| # thmtools | ||
| *.loe | ||
|
|
||
| # TikZ & PGF | ||
| *.dpth | ||
| *.md5 | ||
| *.auxlock | ||
|
|
||
| # todonotes | ||
| *.tdo | ||
|
|
||
| # easy-todo | ||
| *.lod | ||
|
|
||
| # xmpincl | ||
| *.xmpi | ||
|
|
||
| # xindy | ||
| *.xdy | ||
|
|
||
| # xypic precompiled matrices | ||
| *.xyc | ||
|
|
||
| # endfloat | ||
| *.ttt | ||
| *.fff | ||
|
|
||
| # Latexian | ||
| TSWLatexianTemp* | ||
|
|
||
| ## Editors: | ||
| # WinEdt | ||
| *.bak | ||
| *.sav | ||
|
|
||
| # Texpad | ||
| .texpadtmp | ||
|
|
||
| # Kile | ||
| *.backup | ||
|
|
||
| # KBibTeX | ||
| *~[0-9]* | ||
|
|
||
| # auto folder when using emacs and auctex | ||
| ./auto/* | ||
| *.el | ||
|
|
||
| # expex forward references with \gathertags | ||
| *-tags.tex | ||
|
|
||
| # standalone packages | ||
| *.sta | ||
|
|
||
| # generated if using elsarticle.cls | ||
| *.spl |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
该文件不会生效,需要删除