Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 20 additions & 9 deletions .github/workflows/CICID.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,26 @@ jobs:
run: python launch.py -t ${{ secrets.GITHUB_TOKEN }} # 执行


# 触发《基于 PhysX 5 物理引擎的高保真车辆仿真系统》论文的编译
- name: Compile phys LaTeX document
uses: xu-cheng/latex-action@v3
with:
working_directory: phys/undergraduate
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
- uses: actions/upload-artifact@v4
with:
name: phys
path: |
phys/undergraduate/hutbthesis_main.pdf


# 触发行人论文的 action
- name: Compile Pedestrian LaTeX document
uses: xu-cheng/latex-action@v3
Expand Down Expand Up @@ -194,12 +214,3 @@ jobs:
path: |
scene/undergraduate/hutbthesis_main.pdf


build-undergraduate-thesis:
name: 本科毕业论文编译检查
# 只在phys/undergraduate目录下文件改动时才执行,不改论文直接跳过
if: |
github.event_name == 'pull_request' &&
contains(github.event.pull_request.files.*.filename, 'phys/undergraduate/')
uses: ./.github/workflows/build-thesis-reusable.yml

Loading