File tree Expand file tree Collapse file tree 3 files changed +55
-4
lines changed
Expand file tree Collapse file tree 3 files changed +55
-4
lines changed Original file line number Diff line number Diff line change 2121
2222 - name : build
2323 run : |
24- call setEnv64.bat
25- call Setup.bat
26- .\GenerateProjectFiles.bat
27- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin\MSBuild.exe Engine\Intermediate\ProjectFiles\UE4.vcxproj"
24+ call Build.bat
2825 shell : cmd
Original file line number Diff line number Diff line change 1+ name : Engine C++ documentation
2+
3+ on : [push]
4+
5+ jobs :
6+ work :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v4
10+ with :
11+ # github action 默认签出只包含最后一次提交
12+ # 解决方案参考:https://stackoverflow.com/questions/62334460/git-history-in-a-github-action
13+ ref : ${{ github.event.pull_request.head.sha }}
14+ fetch-depth : 0
15+ # 任务名称:设置Python环境
16+ - name : Build doc
17+ # This is the version of the action for setting up Python, not the Python version.
18+ uses : mattnotmitt/doxygen-action@v1.9.5
19+ with :
20+ enable-latex : true
21+
22+ - name : Deploy
23+ uses : peaceiris/actions-gh-pages@v4
24+ with :
25+ github_token : ${{ secrets.GITHUB_TOKEN }}
26+ publish_dir : ./Doxygen/html/
Original file line number Diff line number Diff line change 1+ @ echo off
2+ setlocal
3+ chcp 65001
4+
5+
6+ :: call setEnv64.bat
7+ :: %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
8+
9+ call " %ProgramFiles(x86)% \Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
10+
11+ :: 使用 --force 选项来跳过: Checking dependencies... overwrite your changes (y/n)
12+ call Setup.bat --force
13+
14+ call GenerateProjectFiles.bat
15+
16+
17+ :: %ProgramFiles(x86)%=C:\Program Files (x86)
18+ :: %ProgramW6432%=C:\Program Files
19+
20+ :: 没有构建 UE4Editor.exe
21+ :: call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\bin\MSBuild.exe" Engine\Intermediate\ProjectFiles\UE4.vcxproj
22+
23+ :: 注意:双引号必须且只能将包含空格的目录
24+ call " %ProgramFiles(x86)% \Microsoft Visual Studio\2019\Community\MSBuild\Current\bin\MSBuild.exe" UE4.sln /p:Configuration=" Development Editor" /p:Platform=" Win64" /p:Project=" UnrealBuildTool" /p:OutputPath=.\
25+
26+ echo Build success!
27+
28+ :: .\Engine\Binaries\Win64\UE4Editor.exe
You can’t perform that action at this time.
0 commit comments