Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 9 additions & 4 deletions .github/workflows/CICID.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@
name: Auto test

on:
push:
pull_request:
branches:
- master
# 手动触发事件
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Test Latex documents'

jobs:
work:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: latex Windows CI/CD

on:
push:
pull_request:


jobs:
windows-dev:
name: Windows CI/CD
timeout-minutes: 1440
runs-on: self-hosted:windows
env:
UE4_ROOT: C:\workspace\UnrealEngine
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat

steps:
- name: Checkout repository
uses: actions/checkout@v5
with:
fetch-depth: 0

- name: build
run: |
call build_latex.bat
shell: cmd
7 changes: 7 additions & 0 deletions build_latex.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off


rem 编译危险场景生成论文
pushd "%cd%\critical\undergraduate\"
"C:/software/texlive/texstudio\2023/bin/windows/xelatex.exe" -synctex=1 -interaction=nonstopmode "hutbthesis_main".tex
popd