Repository navigation
ci: 修复第三方工具执行权限并加入自动化测试 - #1
Open
Dame-time-0034 wants to merge 3 commits into
Open
Dame-time-0034 wants to merge 3 commits into
Dame-time-0034 wants to merge 3 commits into
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
在现有 Linux CI 的 build 步骤之后加入自动化测试步骤,并修复导致 CI 失败的第三方工具执行权限问题。
改动:
Engine/Source/ThirdParty下bin/Linux目录中的工具(ISPC 等)从 Windows 提交后丢失了可执行位,Build.sh会报Failed to start local process。-NoEnginePlugins,xvfb-run提供虚拟显示,-TESTEXIT让编辑器在测试队列结束后退出。index.json判定结果:测试失败时编辑器仍返回 0,不能只看退出码。workflow_dispatch可传入test_filter调整测试集。本地已在本机 CI 工作区实测:
Build.sh UE4Editor Linux Development成功(EXIT_CODE=0,产出Engine/Binaries/Linux/UE4Editor)failed=0 notRun=0,报告 index.json 正常生成关联 issue OpenHUTB#11。